| 1 | Games of Life |
| 2 | ============= |
| 3 | |
| 4 | |
| 5 | Description |
| 6 | ----------- |
| 7 | I want to try several different approaches to implementing [Conway's Game of |
| 8 | Life]. It shall be recorded in this repo. |
| 9 | |
| 10 | Each of the implementations (living in sequentially numbered directories) shall |
| 11 | (eventually) have its own README file, documenting the approach taken. |
| 12 | |
| 13 | |
| 14 | Summary |
| 15 | ------- |
| 16 | |
| 17 | | ID | Language | Approach | |
| 18 | |-----|----------|----------| |
| 19 | | 001 | Erlang | Board as 1D list. Cells as [gen_server] processes | |
| 20 | | 002 | OCaml | Board as matrix via functional arrays (sort-of...) | |
| 21 | | 003 | Erlang | Board as matrix via [array()] | |
| 22 | | 004 | AWK | Board as 1D string. Ghosts beyond boundaries | |
| 23 | | 005 | AWK | Board as simulated 3D array | |
| 24 | |
| 25 | |
| 26 | [array()]: http://www.erlang.org/doc/man/array.html "Which is not actually an array, but an integer-keyed tree." |
| 27 | [gen_server]: http://www.erlang.org/doc/man/gen_server.html |
| 28 | [Conway's Game of Life]: http://en.wikipedia.org/wiki/Conways_Game_of_Life |