Solutions to nandgame.com.
An educational puzzle game. Solve a series of tasks where you build increasingly powerful components. Starts with the simplest logical components and ends up with a programmable computer.
-
- Invert
- And
- Or
- Xor (Simplest solution, possible to solve with fewer nand-gates)
-
- Half Adder (Simplest solution, possible to solve with fewer nand-gates)
- Full Adder (Possible to solve with fewer components)
- Multi-bit Adder (Possible to solve with fewer components)
- Increment
- Subtraction
- Equal to Zero
- Less than Zero
-
- Selector
- Switch
-
- Latch (Simplest solution, possible to solve with fewer nand-gates)
- Data Flip-Flop (Simplest solution, possible to solve with fewer nand-gates)
- Register
- Counter
- RAM (Possible to solve with fewer components)
-
- Unary ALU
- ALU (Possible to solve with fewer components)
- Condition (Possible to solve with fewer components)
-
- Combined Memory
- Instruction Decoder (Possible to solve with fewer components)
- Control Unit
- Program Engine
- Computer
- Input and Output (Possible to solve with fewer components)
-
- Nor
- Xnor
- Left Shift
- Multiplication
Pro-tip. Clear the levels in the game before you paste in the solutions.
To install the solutions into the game itself, you'll need to the following:
- Run the code on a PHP server, or grab the contents of the build file.
- Go to nandgame.com
- Open developer tools of your browser. On Chrome and Firefox, that is the F12 button.
- On the bottom of the developer tool page on the right hand side, you should see the console. If you don't see it, press escape key.
- Paste contents into the console.
- Refresh the page, and you should be all set.