Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.85 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.85 KB

WireWorld

WireWorld is a Turing-complete Cellular Automaton that can be used to simulate circuits and logic gates. You can try out the simulator here.

Here's a guide that walks through the process of building a wireworld computer that calculates primes, complete with logic gates, flip-flops, adders, read only memory and registers.

Rules

A wireworld is made up of four types of cell.

  • Empty
  • Wire
  • Electron Head
  • Electron Tail

After each tick of the simulation, the following rules are applied.

  1. always stays
  • always becomes
  • always becomes 2
  • If has 1 or 2 neighbours, it becomes
    • Otherwise it stays as

Controls

Toggle play/pause Paint at cursor Clear grid
enter space x

Cursor

Move left Move down Move up Move right
or h or j or k or l

Tools

1 2 3 4

Selection

Selection mode Copy selection Paste selection
ctrl y p

License

Distributed under the Eclipse Public License version 1.0.