https://github.com/jakuj/wireworld-sim
Wireworld simulation in the console
https://github.com/jakuj/wireworld-sim
Last synced: 3 months ago
JSON representation
Wireworld simulation in the console
- Host: GitHub
- URL: https://github.com/jakuj/wireworld-sim
- Owner: JakuJ
- License: bsd-3-clause
- Created: 2018-03-27T22:03:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-07T11:24:21.000Z (about 6 years ago)
- Last Synced: 2025-02-24T09:40:21.027Z (3 months ago)
- Language: Haskell
- Homepage:
- Size: 729 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wireworld
*Wireworld* cellular automata console simulator.
The automata are encoded as text files with rectangular a grid of cells represented by:
* '.' - empty cell
* '#' - wire cell
* 'X' - electron head cell
* 'O' - electron tail cellThe console user interface allows for:
* creating new automata in a visual editor
* modyfying existing automata in said editor
* loading automata from file to simulate their behaviourThe program also finds cycle length of the automata, given it is shorter than 500 iterations.
### Simulation example
Two clock generators sending electrons into an XOR gate