Conway's Game of Life in a browser

0th generation
Left-click / drag: Live
Right-click / drag: Dead
ms (50–1000)
Set Pattern
Moving object

What is the Conway’s Game of Life?

Conway’s Game of Life is a simulation game that uses a simple model to recreate the process of birth, evolution, and selection of life, invented by mathematician John Horton Conway in 1970.

There is no winning or losing, no purpose in the game of life. There is only life and death. Let’s look at the complex phenomena that emerge from the simple rules, endlessly.

Note: This tool works on smartphones, but you cannot drag or right-click.

Rules of Conway’s Game of Life

  1. Each cell (square) is treated as one life.
  2. A cell has two states: “live” and “dead”.
  3. When the game starts, the board changes generations.
  4. The live or dead of the next generation cell is determined by the live or dead of the adjacent cells (in this site, “live = black, dead = white”).

Generational Change of Cell

Cells (life) undergo repeated generational changes, with overpopulation and overcrowding causing cells to die out and new cells to be born. Through the generations, cells can reproduce rapidly, become extinct in a matter of seconds, or sometimes repeat themselves and form regular patterns.

  • Born: Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.
  • Survive: Any live cell with two or three live neighbours lives on to the next generation.
  • Underpopulation: Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  • Overpopulation: Any live cell with more than three live neighbours dies, as if by overpopulation.

参考:Conway’s Game of Life - Wikipedia