Conway’s Game of Life

Conway’s Game of Life is 0-player game designed by John Horton Conway in 1970. Each cell has two states: dead (black) or alive (white or empty). At the next generation a cell may change state according to the following rules:

  1. If a cell with fewer than two or more than three live neighbors dies because of underpopulation or overpopulation.
  2. If a live cell has two or three live neighbors, the cell survives to the next generation.
  3. If a dead cell has exactly three live neighbors, it becomes alive.

On a n*n grid, pick about 1/7 of the cells randomly as live cells and start the Conway’s Game of Life. The following is the animation of this program:

Conway’s Game of Life with Python Turtle

Tutorial for this project available.

Related Project:

Related Post