Conway's Game of Life Rules Any live cell with two or three neighbors survives. Any dead cell with three live neighbors becomes a live cell. All other live cells die in the next generation. Similarly, all other dead cells stay dead. Reference https://en.wikipedia.org/wiki/Conway's_Game_of_Life#Rules