alt.hn

7/30/2026 at 11:33:02 AM

Show HN: I made a game where you build a CPU from logic gates

https://select.supply/game/chipbuilder

by laurentiurad

7/30/2026 at 2:34:56 PM

That'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 to delete the currently selected gate with the delete key, and the "delete" button in the toolbar should delete the currently selected gate instead of it being a separate tool

- There's not enough contrast between the grid pattern and the background of the canvas

- There seems to be some problems with moving overlapping components

- There's no way to move around the canvas

- The progress doesn't seem to save and there's no way to skip levels

by ura_yukimitsu

7/30/2026 at 3:03:57 PM

Thanks a lot for your time in providing the feedback! I think every point is valid so will try to implement them.

by laurentiurad

7/30/2026 at 4:29:22 PM

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.

by Sohcahtoa82

7/30/2026 at 6:25:26 PM

> I already know how gates and full adders work.

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.

by Joker_vD

7/30/2026 at 4:30:17 PM

Thanks! Just added the possibility to skip between levels. Also you can wire without manually switching between wire/select buttons.

by laurentiurad

7/30/2026 at 3:39:24 PM

To add to this.

- 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?

by danbruc

7/30/2026 at 2:51:51 PM

pretty interesting that such lazy slop vibecoded into existence by "a software engineer passionate about well-crafted products."

by artemonster

7/30/2026 at 2:57:32 PM

Oh, I recognize the author's nickname. The guy is using HN to promote his vibe-coded projects.

It is such a shame that the words "passion" and "well-crafted" are being actively devalued.

by orphea

7/30/2026 at 2:27:41 PM

I went through Turing Complete up to a working CPU and found it incredibly fun. I then went on to build my own RV32I (simplest RISC-V instruction set) core in Verilog - if you keep a simple single-cycle design, it doesn’t end up being super complicated and not a ton of code. I’d recommend the exercise for anyone wanting to learn about how CPUs work.

Also, for people interested in this type of thing, look up Ben Eater’s 6502 videos. Wiring up a 6502 (old microprocessor) to ROM and RAM on a breadboard; later he builds a “world’s worst video card” - more like a VGA display output card, still pretty cool.

by sk1pper

7/30/2026 at 7:30:12 PM

My 14 year old son went further in the Turing Complete, where the game shows you how to "invent" Assembly language, and he completed couple challenges after that (like writing Assembly program to make a robot controlled by the computer you built in the game solve a randomly generated maze).

FYI the author started publishing updates again; looks like he took 2 years to rebuild the game from the ground up and instead of launching it as "Turing Complete 2" he chose to simply publish it as breaking update, and is now continuing with updates to add features.

by octobus2021

7/30/2026 at 2:58:40 PM

+1 for Turing Complete, it's absolutely marvelous.

by XorNot

7/30/2026 at 7:24:40 PM

I have no comment about this particular product, its features or its author, you can read other comments if you want.

I advise the readers to check out not only Nand2Tetris but also Turing Complete game on Steam (and hopefully back on GOG at some point). The author came back to it and started posting updates a few months ago after almost 2 year silence. He rebuilt the engine with a huge performance boost and is now adding more and more features.

Not affiliated with him in any way, just think the game is great and his dedication to it deserves respect.

by octobus2021

7/30/2026 at 2:18:21 PM

Since I don't see it mentioned here, Turning Complete is also a game along the same lines and really fun. https://store.steampowered.com/app/1444480/Turing_Complete/

I have gotten my nephew into it with some success as well.

by ksdme9

7/30/2026 at 2:56:23 PM

Turing Complete was super fun and is amazing. It felt like a years worth of computer engineering class packed into a week’s worth of well designed gameplay. IIRC someone built a working 32 bit RISC-V CPU with it. (Maybe this one? https://github.com/BenjaminSchaaf/turning-complete-riscv)

My child just informed me that Turing Complete has just released a major redesign and that the engine is even faster than before.

by dahart

7/30/2026 at 2:21:20 PM

That links has an invalid or expired cert. EDIT: Thanks for fixing the link!

by prologic

7/30/2026 at 2:51:47 PM

Works for me without issues. Unless it was edited, I assume the Steam Store is pretty unlikely to have expired or invalid certs.

by dahart

7/30/2026 at 1:24:01 PM

I wasn't able to wire the inputs to the gate, so my career at ChipCorp ended at level 1.

Also it would ne nice to have a level zero where you create the gates from transistors.

by sebastiansm7

7/30/2026 at 2:21:31 PM

Want transistor logic? Hard Chip on Steam. Starts you at NMOS and PMOS and lets you build up from there.

by Elorth

7/30/2026 at 1:27:28 PM

-1: build transistor from atoms

-2: ...

:)

(ofc the UI could be more simpler but I've found the wiring)

by azatom

7/30/2026 at 2:07:18 PM

-4: initiate a Big Bang to generate the spacetime substrate

by karolist

7/30/2026 at 1:56:29 PM

I wonder how people go through building such a project without ever hearing about NANDGame or Turing Complete.

by agent_z

7/30/2026 at 2:05:38 PM

For the lazy, here's a link https://www.nandgame.com/

When I played through this last year it was surprising how much came back to me from the courses I took in college, and haven't touched at all in 20 years.

by baron3dl

7/30/2026 at 8:03:28 PM

Or Silicon Zeroes, or MHRD, or a bunch of other games that do the same thing.

by ChickeNES

7/30/2026 at 2:10:16 PM

This immediately made me think of nand2tetris.org, but as a game. Is that what NANDGame is?

by dirkc

7/30/2026 at 2:21:09 PM

Yes, pretty much, but stopping at the cpu level (about the first half of the course).

by falcor84

7/30/2026 at 2:41:23 PM

Forgive me if I'm wrong, but I just can't look at "AI aesthetics" anymore.

by vitorfblima

7/30/2026 at 2:56:08 PM

Thanks for the feedback! I am curious what made you think it's AI? My experience with using LLMs is that they usually use dark mode + neon + gradient a lot, but nothing like the design you see on my website. I'd highly appreciate if you share what elements you thought as being vibecoded or made with AI.

by laurentiurad

7/30/2026 at 2:44:16 PM

I like this idea a lot! I think that there are a few small details that would improve the user experience if you're looking for feedback.

1. Please please please apply `user-select: none;` to everything within the circuit canvas. Almost more often than not I would end up dragging text that had been highlighted rather than any of the actual gates or inputs.

2. Having to switch between 'select', 'wire', and 'delete' modes is a bit cumbersome.

3. Absolutely no progress seems to be saved on navigation or page reload. I've completed the first level several times and if I go anywhere else or reload after completing it, the site shows zero levels completed and shows the tutorial again.

by AspisAiantos

7/30/2026 at 3:06:15 PM

Thanks a lot! Will do!

by laurentiurad

7/30/2026 at 6:01:36 PM

Really cool. I'm enjoying this.

One 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.

by jodacola

7/30/2026 at 3:19:01 PM

> You start with basic logic gates like AND, OR, and NOT, then gradually combine them into adders, multiplexers, memory, an ALU, and eventually a complete CPU. Once you've built the hardware, you can write assembly programs that run on the processor you created.

No you don’t. Once you get to memory you no longer have any tests that do anything and it’s impossible to actually progress.

by Kirby64

7/30/2026 at 5:21:43 PM

Wow, sounds identical to "Turing Complete".

by rsprinkle

7/30/2026 at 2:20:43 PM

To the author of this; Are you able to make it save your progress so you can come back and continue playing?

by prologic

7/30/2026 at 2:20:01 PM

Cool idea, but having to switch between select and wire makes this incredibly tedious to use. Just use wire mode from dragging from a connection and let people draw "away" a wire from a connection and let go to delete it? Would be much more intuitive imo.

by splittydev

7/30/2026 at 6:52:10 PM

Why does "Browse" at the top take me to what looks like a scam shopping site?

The "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.

by aappleby

7/30/2026 at 6:54:44 PM

Oh lord, I went to the "ALU" example, did absolutely nothing, clicked "Run Tests" - YOU WIN

You didn't test this thing at all, did you?

by aappleby

7/30/2026 at 8:09:45 PM

I really don't appreciate this Reddit-like snarky attitude and I usually do not respond to people like you and to ill-intentioned messages like this one, but this time I will, since you accuse me of scamming people, which is a big deal.

The post is about the game. When clicking on the Browse button and assuming you can read, you will see a collection of well-crafted products. I am not selling those myself. The website does not process payments, does not ask for donations, nothing like that.

Saying that the ALU example does not have tests is just a lie. I am not sure if you are a liar, or just frustrated about something, or maybe you're having a bad day, but for a person bragging about being an ex-employeeID at a big-tech firm and a GH-contribution-green-dots chaser, you should be more humble and think twice before accusing someone of doing illegal stuff.

by laurentiurad

7/30/2026 at 2:15:54 PM

Very nice. Tips: You don't need the different design states (select, wire, delete) just have one and make it work contextually. Also remove the play button. Just have it always playing.

by wateralien

7/30/2026 at 2:37:48 PM

Thank you for the feedback! Will implement it today

by laurentiurad

7/30/2026 at 1:35:56 PM

Would be nice to be able to skip the first levels, because learning an AND gate is not necessarily what everyone needs as first steps, regarding their skill level.

by 1718627440

7/30/2026 at 2:57:13 PM

Noted. Will add a skip mechanism too.

by laurentiurad

7/30/2026 at 11:39:42 AM

I like it, it's fun Why you decided to keep wire button on top ? can't we do something like clicking on the dot will trigger wireing

by shadab_khan_127

7/30/2026 at 12:47:03 PM

A good point. I will change it!

by laurentiurad

7/30/2026 at 1:56:12 PM

This is cool! I like it! Let's see if I can get past the NAND level!

by prologic

7/30/2026 at 2:21:55 PM

I got all the way to a Full Adder and got stuck, then lost my progress :/

by prologic

7/30/2026 at 2:45:39 PM

3 next clicks in missing a back button

by rho4

7/30/2026 at 1:20:14 PM

you maybe not select accidental but others do:

user-select: none;

by azatom

7/30/2026 at 2:01:40 PM

Doesn’t handle drag and drop on iPad.

by drob518

7/30/2026 at 1:31:40 PM

Got stuck at the NAND gate level.

by mrkO99

7/30/2026 at 2:02:15 PM

Stick with it! Hint: A NAND gate is an AND + NOT circuit. It outputs a 0 when both inputs are a 1, otherwise outputs a 1.

by prologic

7/30/2026 at 2:25:44 PM

Same, I built a correctly-working AND gate made only of NAND gates but the tests don't pass.

by namero999

7/30/2026 at 2:50:49 PM

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.

by Kirby64

7/30/2026 at 3:14:28 PM

What configuration did you use to pass the test? I guess I couldn't think illogically enough.

by asterisk_man

7/30/2026 at 3:17:10 PM

I removed one of the cross coupled outputs (only one NOR was connected to the other, not both outputs cross coupled) and magically it worked. Didn’t make any sense from a logic perspective though.

by Kirby64

7/30/2026 at 2:50:03 PM

So ICFP 2026..

by kovacs_x

7/30/2026 at 2:39:05 PM

Slop. very janky UI

by artemonster

7/30/2026 at 1:43:25 PM

wasn't there recently another game that was starting with mosfet/pmos?

by serhack_

7/30/2026 at 2:06:10 PM

I'm not sure if this is what you mean, but Zachtronics has a minigame in its game "Last Call BBS" where you have to build ICs at the silicon level.

www.zachtronics.com

by uranoxyd