sergex

Joined 8 years ago

Karma
120
Submissions
44
Member since
Jul 5
I work on http://nandgame.com
View on Hacker News

Recent submissions

Comment · 2 years ago
Author here. Yeah, the first level is special and perhaps half-baked. It felt like cheating to start with the NAND-gate as the atomic component since transistors are not NAND-gates. So I start with electric relays (since they logically correspond to transistors but are easier to visualize). But I didn't want to get into realistic simulation of electronic circuits with all the complexity this entails.

May I ask how you would have preferred to solve the first level if the game didn't have limitations?

Comment · 2 years ago
Is your problem with the user interface, i.e. how to connect wires from input to output, or is is with the logical problem of getting the correct output?
Comment · 6 years ago
Yes that would be great!
Comment · 6 years ago
I'm not using canvas. SVG is used for the connections, the rest is HTML. I'm not using any particular library for the diagrams, since I couldn't find anything suiting my purpose unfortunately.

I would definitely like to improve the look of the wires.

Comment · 6 years ago
No it means you can either optimize for fewest components or fewest nand-gate. The text could be clearer.
Comment · 6 years ago
Author here - I would love to do a few layers below the nand gate.
Comment · 6 years ago
> I'd like to see the ability to "unbundle" the composite components.

This is a great idea, and you are not the first to suggest it. I just haven't gotten around to implement it.

Comment · 6 years ago
Yes it has improved a lot. Still more improvements to come!
Comment · 6 years ago
Thank you very much for the suggestions.
Comment · 6 years ago
Author here: The reason you drag from the input rather than output is that a pin can have only one input.
Comment · 6 years ago
Author here - thank you for the feedback!

The nand-count is based on how you built the components involved. So optimizing a component will have have cascading effects.

"This is the simplest solution!" means the solution with fewest individual components on the canvas. I realize the text could be clearer.

Comment · 6 years ago
Author here - It uses TypeScript and the Angular framework. Not because I prefer Angular in particular but because I had to learn it anyway for a work-related project. I think TypeScript is great.
Comment · 6 years ago
It is a web site, but it seems they have a "sites" plan for 5$ a month. Looks great, thanks!
Comment · 8 years ago
That would be really cool. I need to refactor a bit to allow different translations of the text, but I can get back to you when it is possible.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton