Commit | Line | Data |
---|---|---|
885ce6b7 SK |
1 | Games of Life |
2 | ============= | |
e24cd99d | 3 | |
885ce6b7 SK |
4 | |
5 | Description | |
6 | ----------- | |
e3da0a3b SK |
7 | I want to try several different approaches to implementing [Conway's Game of |
8 | Life]. It shall be recorded in this repo. | |
885ce6b7 SK |
9 | |
10 | Each of the implementations (living in sequentially numbered directories) shall | |
d9eb5426 | 11 | (eventually) have its own README file, documenting the approach taken. |
885ce6b7 SK |
12 | |
13 | ||
14 | Summary | |
15 | ------- | |
71087648 SK |
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 | | |
005a5494 SK |
24 | |
25 | ||
11f0def6 | 26 | [array()]: http://www.erlang.org/doc/man/array.html "Which is not actually an array, but an integer-keyed tree." |
c3a63cc7 | 27 | [gen_server]: http://www.erlang.org/doc/man/gen_server.html |
e3da0a3b | 28 | [Conway's Game of Life]: http://en.wikipedia.org/wiki/Conways_Game_of_Life |