Conway's Game of Life
This is not funny. It's about life and death...
Conway's Game of Life, written in JavaScript.
http://myst729.github.io/game-of-life/
About the game
- The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.
- The game is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input.
- One interacts with the Game of Life by creating an initial configuration and observing how it evolves.
Rules of the game
- Any live cell with fewer than two live neighbours dies, as if caused by under-population.
- Any live cell with two or three live neighbours lives on to the next generation.
- Any live cell with more than three live neighbours dies, as if by overcrowding.
- Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.