Writing1 min read

Conway’s Game of Life

Four rules, a grid of squares, and a Turing-complete universe. Play with it below.

Math & Computation

Conway’s Game of Life (1970) is a zero-player cellular automaton: a two-dimensional grid of cells, each alive or dead, evolving in discrete steps according to four rules based on a cell’s eight neighbors:

  1. Underpopulation: a live cell with fewer than two neighbors dies.
  2. Overpopulation: a live cell with more than three neighbors dies.
  3. Survival: a live cell with two or three neighbors lives on.
  4. Reproduction: a dead cell with exactly three neighbors comes alive.

You set an initial configuration, press play, and give no further input. John Conway, a Cambridge mathematician, invented it as a deliberate simplification of John von Neumann’s much more complex attempt to define self-replicating automata in the 1940s. Conway wanted the simplest possible ruleset that would still produce unpredictable, lifelike behavior.

gen 0

Click or drag to draw cells, then press Play. The board starts with a Gosper glider gun, which fires gliders forever.

Order from local rules

The Game of Life is Turing complete. You can build a working computer inside it, which means any computable function can, in principle, run on a grid of blinking squares.1

Emergent structures like gliders (patterns that travel), glider guns (patterns that endlessly emit gliders), and stable still lifes arise from nothing but local neighbor-counting.

Conway’s game demonstrates that no “life force” or top-down designer is needed to produce organized, persistent, functional structure. Darwinian evolution, protein folding, neural firing patterns: Life is probably the purest toy model we have for asking how order arises from simple, local rules.

Footnotes

  1. The board above starts with a Gosper glider gun. Press Play and it fires gliders across the grid indefinitely. ↩

Comments

    Esc

    ↑↓ navigate↵ open