gameoflife.js —
Another implementation of Conway's Game of Life in javascript! How new and original, right? This implementation does not include any graphical elements in the core repository and is only handling the computations involved. For the most part it has been used when trying to explain concepts in javascript to other people but it works quite well in its own regard!
Conway's game of life is a fairly simple zero-player game which revolves around cellular automaton following a small set of rules to change state. The rules are related to the neighbors surrounding a specific cell.
The rules are thus:
- Any live cells with less than two live neigbors dies
- Any live cells with two or three live neigbors lives
- Any live cells with more than three live neigbors dies
- Any dead cells with exactly three live neigbors lives again
There are many known patterns in this game which give known results. Pictured left are spaceships, specifically Schick ships.
Check it out on github!