Conway's Game of Life implemented in JavaScript with jQuery.
The game is hosted here.
With left mouse button you can, on board to the left, animate dead cells, as well as kill living cells. Use go
and step
buttons to apply the following rules to them:
- Alive cell dies if has fewer than two live neighbours (under-population).
- Alive cell dies if has more than three live neighbours (overcrowding).
- Alive cell lives on to the next generation if has two or three live neighbours.
- Dead cell with exactly three live neighbours becomes a live cell (reproduction).
- Commodore 64 font from: http://style64.org/c64-truetype.
- Commodore 64 color palette from: http://www.pepto.de/projects/colorvic.
- FixedQueue data type by Ben Nadel from: https://gist.github.com/bennadel/9760671.