The Game of Life (an example of a cellular automaton) is played on a two-dimensional rectangular grid of cells. Each cell can be either alive or dead. The status of each cell changes each turn of the game (also called a generation) depending on the statuses of that cell's 8 neighbors.
For each generation the rules are applied simultaneously to every cell on the game board, i.e. births and deaths happen simultaneously. The cell's status in the next generation is determined by a set of rule rules, which are as follows:
For more information, visit Wikipedia.