https://github.com/overminddl1/elixir_wireworld
Wireworld implementation in Elixir
https://github.com/overminddl1/elixir_wireworld
Last synced: 11 months ago
JSON representation
Wireworld implementation in Elixir
- Host: GitHub
- URL: https://github.com/overminddl1/elixir_wireworld
- Owner: OvermindDL1
- Created: 2017-08-01T20:53:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-01T20:58:42.000Z (almost 9 years ago)
- Last Synced: 2025-01-21T18:51:31.178Z (over 1 year ago)
- Language: Elixir
- Size: 3.91 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wireworld
Wireworld implementation in Elixir.
Set it up with `Wireworld.setup/3`, increment the state with `Wireworld.next_state/2`, and print out the current state with `Wireworld.to_string/2`, or write your own display implementation.
## Examples
It comes built in with a `Wireworld.demo/2` function to run some pre-made circuit demo's, with various options.
[Here is a gif of the `:nullifier` demo in operation in my terminal:](https://overminddl1.com/screenshots/work/Wireworld-nullifier.gif)

[Here is a gif of the `:diodes` demo in operation in my terminal:](https://overminddl1.com/screenshots/work/Wireworld-diodes.gif)

[Here is a gif of the `:clock_xor` demo in operation in my terminal:](https://overminddl1.com/screenshots/work/Wireworld-clock_xor.gif)
