Skip to content
PixelCursor(opens in a new tab)
Games

Conway's Game of Life

Classic cellular automaton by John Conway

Board size
  • Small · 20 × 12
  • Medium · 30 × 18
  • Large · 40 × 24
  • Extra large · 50 × 30
Speed
  • Slow · 2 s
  • Normal · 1 s
  • Fast · 0.25 s
  • Very fast · 0.05 s
Board
Run
Generation0

Click or drag cells to toggle them

  • Just born
  • Alive
  • 10+ generations

Pattern library

Famous shapes from fifty years of Life. Load one onto a fresh board and watch it run, or pick it above and stamp it anywhere.

  • Block

    Still life

    2 × 2 · 4 cells

    Four cells that hold each other up. The most common thing left over when chaos settles.

  • Beehive

    Still life

    4 × 3 · 6 cells

    A ring of six cells. Every cell has exactly two neighbours, so nothing ever changes.

  • Loaf

    Still life

    4 × 4 · 7 cells

    Seven cells, perfectly balanced: no cell dies and no empty cell has three neighbours.

  • Blinker

    Oscillator

    Period 2 · 3 × 1 · 3 cells

    Three cells that flip between a row and a column. The smallest oscillator, period 2.

  • Toad

    Oscillator

    Period 2 · 4 × 2 · 6 cells

    Two offset rows of three that breathe in and out, period 2.

  • Beacon

    Oscillator

    Period 2 · 4 × 4 · 8 cells

    Two blocks touching at a corner. The two inner cells blink, period 2.

  • Pulsar

    Oscillator

    Period 3 · 13 × 13 · 48 cells

    Four arms in perfect symmetry that pulse through three shapes. The most common period-3 oscillator.

  • Pentadecathlon

    Oscillator

    Period 15 · 10 × 3 · 12 cells

    Runs through 15 different shapes before it repeats.

  • Glider

    Spaceship

    Period 4 · 3 × 3 · 5 cells

    The smallest spaceship: five cells that move one cell diagonally every four generations.

  • Lightweight spaceship

    Spaceship

    Period 4 · 5 × 4 · 9 cells

    Flies straight across the board, two cells every four generations.

  • Gosper glider gun

    Gun

    Period 30 · 36 × 9 · 36 cells

    Fires a new glider every 30 generations. Bill Gosper found it in 1970: the first pattern that grows forever.

  • R-pentomino

    Methuselah

    3 × 3 · 5 cells

    Just five cells, yet on an endless board it only settles after 1,103 generations.

  • Diehard

    Methuselah

    8 × 3 · 7 cells

    Seems to live on and on, then vanishes completely in generation 130.

  • Acorn

    Methuselah

    7 × 3 · 7 cells

    Seven cells that need 5,206 generations to settle on an endless board. Here the edges stop it much sooner.

The rules

Every cell looks at its eight neighbours. All cells change at the same moment, one generation at a time.

  1. Birth

    A dead cell with exactly 3 live neighbours becomes alive.

  2. Survival

    A live cell with 2 or 3 live neighbours survives.

  3. Death

    All other live cells die, of loneliness or overcrowding. All other dead cells stay dead.

Tips

  • Click or drag cells to create your own patterns.
  • Load patterns from the library to explore different behaviours.
  • Try other board sizes, or wrap the edges so gliders fly forever.
  • Slow down to watch the evolution closely.
  • Step forward and back one generation at a time with the arrow keys.
  • Turn on Show the next step to see the rules at work before they happen.

About this tool

  • A zero-player game

    You only choose the start. From then on the rules alone decide what happens, generation by generation.

  • A computer made of cells

    Life is Turing complete: with gliders as signals people have built logic gates, counters and even Life running inside Life.

  • Growing forever

    In 1970 Conway offered 50 dollars for a pattern that grows without end. Bill Gosper won it the same year with his glider gun.

Keyboard

Space
Play or pause
←→
One generation back or forward
R
Back to the start
S
Random board
X
Clear the board
W
Wrap the edges on or off
N
Next-step preview on or off
-+
Slower or faster
↑↓↵
On the board: move and switch a cell