Skip to content

Solutions to nandgame - 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.

Notifications You must be signed in to change notification settings

mentisy/nandgame

Repository files navigation

nandgame

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.

Levels

  • Logic Gates

    • Invert
    • And
    • Or
    • Xor (Simplest solution, possible to solve with fewer nand-gates)
  • Arithmetics

    • 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
  • Plumbing

    • Selector
    • Switch
  • Memory

    • 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)
  • Arithmetic Logic Unit (ALU)

    • Unary ALU
    • ALU (Possible to solve with fewer components)
    • Condition (Possible to solve with fewer components)
  • Processor

    • Combined Memory
    • Instruction Decoder (Possible to solve with fewer components)
    • Control Unit
    • Program Engine
    • Computer
    • Input and Output (Possible to solve with fewer components)
  • Optional

    Logic

    • Nor
    • Xnor
    • Left Shift

    Artithmetics

    • Multiplication

Usage

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:

  1. Run the code on a PHP server, or grab the contents of the build file.
  2. Go to nandgame.com
  3. Open developer tools of your browser. On Chrome and Firefox, that is the F12 button.
  4. 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.
  5. Paste contents into the console.
  6. Refresh the page, and you should be all set.

About

Solutions to nandgame - 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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages