Game of Life

Conway's cellular automaton where complex patterns emerge from simple birth and death rules

Generation 0Population 0

Patterns

Settings

10 gen/s
10px
Edge:

What is the Game of Life?

The Game of Life is a cellular automaton devised by mathematician John Conway in 1970. It's a zero-player game: you set up an initial configuration of cells, and then watch how it evolves according to simple rules. Despite having no players and trivially simple rules, the Game of Life is capable of producing extraordinarily complex, unpredictable, and beautiful patterns.

The Rules

The universe is an infinite two-dimensional grid of cells, each in one of two states: alive (black) or dead (white). Every cell interacts with its eight neighbors. At each generation:

  • Birth: A dead cell with exactly 3 live neighbors becomes alive
  • Survival: A live cell with 2 or 3 live neighbors stays alive
  • Death by underpopulation: A live cell with fewer than 2 neighbors dies
  • Death by overpopulation: A live cell with more than 3 neighbors dies

These rules are often abbreviated as B3/S23 (Birth on 3, Survival on 2-3). That's it. Four rules. Yet they produce astonishing complexity.

Types of Patterns

  • Still lifes: Stable patterns that don't change (blocks, beehives, loaves)
  • Oscillators: Patterns that repeat after a fixed number of generations (blinkers, pulsars)
  • Spaceships: Patterns that translate across the grid (gliders, lightweight spaceships)
  • Guns: Patterns that periodically emit spaceships (Gosper glider gun)
  • Methuselahs: Small patterns that evolve for many generations before stabilizing

Tips

  • Click or drag on the grid to draw or erase cells
  • Use "Step" to advance one generation at a time
  • Patterns are additive: click multiple times to place several patterns
  • Try adding multiple gliders and watch them collide
  • Place a Glider Gun and watch it shoot an infinite stream of gliders
  • Click "Random" and watch chaos settle into stable structures

Why It Matters

The Game of Life is Turing complete, meaning it can simulate any computation that a computer can perform. Logic gates, memory, and even entire computers have been built within the Game of Life. This proves that immense computational power can emerge from the simplest possible rules.

History and Origins

John Horton Conway, a British mathematician at Cambridge (later Princeton), invented the Game of Life in 1970. He experimented extensively with different rules, seeking ones that were neither too explosive (filling the grid) nor too restrictive (dying out quickly). The B3/S23 rules achieved the perfect balance.

The game was introduced to the public through Martin Gardner's "Mathematical Games" column in Scientific American in October 1970. It became an instant sensation, captivating mathematicians, computer scientists, and hobbyists. Some early computer centers reportedly banned Life simulations because they consumed too much computing time.

Conway initially offered a $50 prize to anyone who could prove whether a pattern could grow without limit. Bill Gosper of MIT won the prize in 1970 by discovering the Gosper glider gun, a pattern that produces an infinite stream of gliders. This proved Life could sustain infinite growth.

Connections to Nature and Science

While the Game of Life isn't found directly in nature, it exemplifies principles that appear throughout biology and physics:

  • Self-organization: Complex structures emerge without external direction, just as crystals form from simple molecular interactions
  • Emergence: High-level behaviors (spaceships, computers) arise from low-level rules, mirroring how consciousness emerges from neurons
  • Edge of chaos: Life's rules sit at the boundary between order and randomness, where complex systems tend to be most interesting
  • Artificial life: Life showed that digital systems could exhibit lifelike properties: reproduction, evolution, and complex behavior

Computational Universality

The Game of Life has been proven to be Turing complete, meaning it can simulate any computation. This means:

  • Any algorithm that can be computed can be simulated in Life
  • Logic gates (AND, OR, NOT) can be built from glider collisions
  • Working computers have been constructed entirely within Life
  • Complete programmable computers have been built in Life, capable of running programs like Tetris

This has profound philosophical implications: a universe governed by simple, deterministic rules can still produce infinite complexity and universal computation.

Famous Patterns

  • Glider: The smallest spaceship, discovered in 1970. It moves diagonally, traveling one cell every 4 generations
  • Gosper glider gun: The first known gun, discovered by Bill Gosper. It emits a new glider every 30 generations
  • Pulsar: The most common period-3 oscillator. Its symmetric structure makes it visually striking
  • R-pentomino: A 5-cell methuselah that takes 1,103 generations to stabilize, producing 6 gliders
  • Acorn: A 7-cell pattern that takes 5,206 generations to stabilize

Legacy

The Game of Life sparked the field of cellular automata research and influenced artificial life, complexity science, and even philosophy. Stephen Wolfram's A New Kind of Science (2002) extended these ideas, arguing that simple rules underlie all of nature's complexity. The game remains actively researched today, with new patterns and constructions still being discovered.

John Conway passed away in April 2020 due to COVID-19, but his Game of Life continues to fascinate new generations of mathematicians, programmers, and curious minds. It stands as one of the most elegant demonstrations that simplicity can generate infinite complexity.