Play free

Where to start

Games where you build a computer from logic gates

Building a computer from nothing turns out to be one of the most satisfying puzzles there is, and there is now a small genre of games about it. Here is an honest map of it, NANDSIM included, so you can pick the one that suits you.

4 min read · Updated

The short version

NameWhat it isPlatform and priceBest for
nand2tetrisA course and book (The Elements of Computing Systems, Nisan & Schocken) that builds a computer from NAND up through a compiler and OSFree online materials and Coursera course; book from MIT PressLearners who want the full stack with structure and exercises
nandgameA browser puzzle sequence from NAND to a programmable computerBrowser, freeA quick, focused tour with no install
Turing CompleteA polished puzzle game from gates to a CPU you program in your own assemblySteam, paidPuzzle-game fans who want a long campaign and a story
Digital Logic SimSebastian Lague’s free logic sandbox, made alongside his YouTube series on how computers workDesktop, free (itch.io)Free-form tinkering after watching the videos
MHRDA hardware-design game where you write a hardware description language instead of drawing wiresSteam, paidPeople curious about HDL-style design
Shenzhen I/O, Silicon ZeroesPuzzle games about circuits and microcontrollers at a higher level than gatesSteam, paidZachtronics-style optimisation fans
Logic WorldA 3D sandbox where you build circuits as physical objectsSteam, paidBig creative builds, Minecraft-redstone style
NANDSIMA browser puzzle game from one NAND to a CPU with your own instruction set and assembler, plus sandbox, daily challenges and a museum of historical computersBrowser, freeSee below

nand2tetris: the classic course

If you want to study how computers work, start here. Noam Nisan and Shimon Schocken’s course walks from NAND gates through the Hack computer, its assembler, a virtual machine, a compiler for a small language and an operating system. It is free online, the book is excellent, and the Coursera version has taught hundreds of thousands of people. It is a course rather than a game: you write chips in a simple hardware description language and test them against provided scripts. Our page on the Hack computer explains its design.

nandgame: the quick tour

nandgame runs in the browser and takes you from a NAND gate to a working computer in a sequence of compact levels, mostly following the nand2tetris path. It is free and fast to start, and it has been a favourite on Hacker News for years. If you want a few evenings of focused puzzles, it is a great choice.

Turing Complete: the big puzzle game

Turing Complete is a commercial game on Steam with a long campaign, a light story, a level map and a strong community. You build up to your own CPU and program it in an assembly language you define. It is very well regarded by players, and if you enjoy it you will probably enjoy everything else on this list.

Digital Logic Sim and the videos

Sebastian Lague’s video series on how computers work is one of the best visual introductions anywhere, and his free Digital Logic Sim lets you build along. It is a sandbox rather than a puzzle game, so you set your own goals.

Where NANDSIM fits

NANDSIM is a game first. It aims for the depth of the bigger titles in a free browser tab:

If you want a tool, not a game

For coursework and free-form design, the standard tools are Logisim-evolution and Digital (both free desktop apps), and CircuitVerse in the browser. Many university courses use one of these, and they are excellent at what they do. NANDSIM’s sandbox covers casual use, but if your course specifies one of them, use that.

Which should you pick?

Want a structured course with a textbook? nand2tetris. A short, free browser tour? nandgame. A long commercial puzzle campaign? Turing Complete. A free browser game that goes deep, with your own ISA, co-op and historical machines? Give NANDSIM a try. Many people end up playing more than one. The ideas transfer, and each game shows the same machine from a different angle.