Changes

Jump to: navigation, search

DPS921 Team Optimize

27 bytes added, 17:42, 27 November 2016
Comway's Game of Life - Rules
=== Comway's Game of Life - Rules ===
The rules of the game are simple, and describe the next generation of cells in the grid:
* '''Birth''': a cell that is dead at time t will be alive at time t +1 if exactly 3 of its eight neighbors were alive at time t* '''Death''': a cell can die by:** '''Overcrowding''': if a cell is alive at time t + 1 and 4 or more of its neighbors are also alive at time t, the cell will be dead at time t + 1.** '''Exposure''': If a live cell at time t has only 1 live neighbor or no live neighbors, it will be dead at time t + 1.* '''Survival''': a cell survives from time t to time t + 1 if and only if 2 or 3 of its neighbors are alive at time t.
91
edits

Navigation menu