JavaScript Game of Life
Rules:
- Any adult cell with fewer than two live neighbours dies, as if by loneliness.
- Any adult cell with more than three live neighbours dies, as if by overcrowding.
- Any adult cell with two or three live neighbours lives to the next generation.
- Any dead cell with exactly three live adult neighbours comes to life.
Live adult cells are white. Live child cells are pink. Dead cells are black.
See also: Conway's Game of Life From Wikipedia, the free encyclopedia