Earlier quoted context omitted.
Same, I built a correctly-working AND gate made only of NAND gates but the tests don't pass.
The SR latch logic is also incorrect. Cross-coupled NORs had to be configured illogically to actually pass the tests and output correctly. Also, the later puzzles (starting with memory) don't have any real tests. Seems like it just doesn't really exist past that point.
Show HN: I made a game where you build a CPU from logic gates
51–60 of 76 posts
Re: Show HN: I made a game where you build a CPU from logic gates
#52Earlier quoted context omitted.
The SR latch logic is also incorrect. Cross-coupled NORs had to be configured illogically to actually pass the tests and output correctly. Also, the later puzzles (starting with memory) don't have any real tests. Seems like it just doesn't really exist past that point.
What configuration did you use to pass the test? I guess I couldn't think illogically enough.
Re: Show HN: I made a game where you build a CPU from logic gates
#53No you don’t. Once you get to memory you no longer have any tests that do anything and it’s impossible to actually progress.
Re: Show HN: I made a game where you build a CPU from logic gates
#54That's a cool idea for a game, but the UX feels quite unintuitive and unpolished to me which discouraged me from playing past the first couple of levels. A few suggestions, if I may: - You should be able to drag/drop elements from the sidebar onto the canvas - Wiring shouldn't be a separate tool, and you should be able to drag/drop wires instead of having to click on the two endpoints separately - You should be able…
- allow drawing wires backwards from sink to source
- allow connecting inputs
Also there is a problem with the tests and the simulator that showed up in the SR latch level. Despite having the correct circuit, the tests failed until I swapped the two NOR gates. I can not reproduce it, but I would guess it has something to do with the component placement order, the update order of the simulator, and how the tests are executed. As the NOR feedback loop has no well-defined initial state, it probably settled in a placement order dependent way that made the tests fail. Maybe Q was already 1 and the test looks for a 0 to 1 transition when enabling S?
Re: Show HN: I made a game where you build a CPU from logic gates
#55That's a cool idea for a game, but the UX feels quite unintuitive and unpolished to me which discouraged me from playing past the first couple of levels. A few suggestions, if I may: - You should be able to drag/drop elements from the sidebar onto the canvas - Wiring shouldn't be a separate tool, and you should be able to drag/drop wires instead of having to click on the two endpoints separately - You should be able…
Thanks a lot for your time in providing the feedback! I think every point is valid so will try to implement them.
I'd also like the ability to skip levels. I already know how gates and full adders work. It's just drudgery to get through them.
Re: Show HN: I made a game where you build a CPU from logic gates
#56Earlier quoted context omitted.
Thanks a lot for your time in providing the feedback! I think every point is valid so will try to implement them.
At least for the early levels, the input and output nodes should start already laid out. I'd also like the ability to skip levels. I already know how gates and full adders work. It's just drudgery to get through them.
Re: Show HN: I made a game where you build a CPU from logic gates
#57Re: Show HN: I made a game where you build a CPU from logic gates
#58One bit of feedback: I'd love to be able to stare at the tests while I'm playing around with the logic gates; every time I switch to the tests tab then click around on the "board," the tabs switch back.
Re: Show HN: I made a game where you build a CPU from logic gates
#59Earlier quoted context omitted.
Thanks a lot for your time in providing the feedback! I think every point is valid so will try to implement them.
At least for the early levels, the input and output nodes should start already laid out. I'd also like the ability to skip levels. I already know how gates and full adders work. It's just drudgery to get through them.
But do you know how an 8-bit Kogge-Stone adder works? Most of the sources I've read are quite unhelpful. I particularly "like" the ones (e.g. Wikipedia) that use some random pictures/diagrams from who knows where that either 1) have completely different symbols from each other and from what the text claims the symbols on the pictures are (e.g. the text talks about black and grey boxes, the pictures have red and yellow triangles); 2) shows a different kind of adder — the article about Brent-Kung adder has a Kogge-Stone diagram instead; 3) very obviously doesn't work the way the text claims it works/does what the text claims it does.
Re: Show HN: I made a game where you build a CPU from logic gates
#60The "Pipelining" level is completely broken - big completely empty grid, no components to place, and you actually think you're going to learn _pipelining_ in a _schematic editor_?
This is a vibe-coded slop project. Not interested.