Inspired from GoL1 & GoL2 & GoL3
Check them out for more theory and info.
The Game of Life is a cellular automaton created by John H. Conway in 1970. The game is a zero-player game in which an initially configured 2D grid of cells evolves according to the Game of Life.
Using the following ruleset the 2D grid of cells will evolve from generation to generation until it reaches a static state of either all dead cells or a mix of still, oscillating, or moving (spaceship) cells.
- Underpopulation - If a live cell has is surrounded by less than two surrounding neighbours it dies and does not make it to the next generation.
- Equilibrium - If a live cell is surrounded by two or three living neighbors the cell stays alive and makes it to the next generation.
- Overpopulation - If a live cell is surrounded by more than three living neighbors the cell dies and does not make it to the next generation.
- Reproduction - If a dead cell is surrounded by three living neighbors the cell stays alive and makes it to the next generation.