Anonymous user
Wireworld: Difference between revisions
m
added a ;Task: (bold) header, corrected some misspellings.
m (→{{header|Sidef}}: minor code simplifications) |
m (added a ;Task: (bold) header, corrected some misspellings.) |
||
Line 1:
{{task|Games}}
[[Category:Cellular automata]]
{{omit from|GUISS}}
[[wp:Wireworld|Wireworld]] is a cellular automaton with some similarities to [[Conway's Game of Life]].
Line 7 ⟶ 9:
and is much simpler to program for.
A
each of which can be in one of four states.
All cell transitions happen simultaneously.
Line 39 ⟶ 41:
|}
To implement this task, create a program that reads a wireworld program from a file and displays an animation of the processing. Here is a sample description file (using "<tt>H</tt>" for an electron head, "<tt>t</tt>" for a tail, "<tt>.</tt>" for a conductor and a space for empty) you may wish to test with, which demonstrates two cycle-3 generators and an inhibit gate:▼
;Task:
▲
<pre>
tH.........
|