/elixir_wireworld

Wireworld implementation in Elixir

Primary LanguageElixir

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: Nullifier Demo

Here is a gif of the :diodes demo in operation in my terminal: Diodes Demo

Here is a gif of the :clock_xor demo in operation in my terminal: Clock-XOR Demo