How do a few simple rules grow a living world?
Conway's Game of Life: draw cells, press Run and watch gliders, guns and oscillators come alive from three simple rules.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
Game of Life
Generation 0, the starting pattern. Tap or click cells to draw, then run.
Conway's Game of Life: draw cells, press Run and watch gliders, guns and oscillators come alive from three simple rules.
Zoom in on the board to paint single cells with a finger: it opens on the pattern, and two fingers move the view.
How to use
- Pick a starting pattern, or tap or click cells on the board to draw your own. Use the arrow keys and Space to draw with the keyboard.
- Press Play on the board to watch the generations go by, or Step to move one generation at a time. Start over goes back to the pattern.
- In the Rules tab, change the speed or wrap the edges round; the Board tab clears the board or fills it with random cells.
How it works
The Game of Life is a board of square cells, each alive or dead. At every tick all cells change at the same time by three rules: a living cell with two or three living neighbours stays alive, a dead cell with exactly three living neighbours comes alive, and every other cell is dead in the next generation. Nobody plays. You choose the start and the rules do the rest.
John Conway invented it in 1970 and Martin Gardner made it famous in Scientific American. From these rules come steady blocks, oscillators such as the blinker and the pulsar, gliders that walk across the board and guns that fire a glider every 30 generations (the Gosper glider gun, 1970). The Life rules are even powerful enough to build a computer. Tiny starts can grow for a long time: the R-pentomino has five cells and settles down only after 1103 generations.
This board is 60 cells wide and 30 high. By default cells beyond the edge count as dead, so gliders that reach the edge crash into it. With wrap around on, the board is a torus: what leaves on the right returns on the left.
Sources
- LifeWiki: Conway's Game of LifeUsed for: rules
Frequently asked questions
What are the rules of the Game of Life?
A living cell with two or three living neighbours survives. A dead cell with exactly three living neighbours becomes alive. All other cells die or stay dead.
What is a glider?
A pattern of five cells that moves one cell diagonally every four generations. It keeps its shape while it travels.
What does the Gosper glider gun do?
It is a pattern of 36 cells that repeats every 30 generations and fires a new glider each time, so living cells grow without limit.
Why does my drawing die out?
Most small shapes fade away or settle into still blocks. Cells need the right number of neighbours to survive. Try a pattern from the list and then change it.
What does wrap around the edges mean?
The top and bottom edges meet and so do the left and right edges. A glider leaving on one side comes back on the other.
Next you might need
More in Math & numbers
- Percentage calculator, private, runs on your device
- Area of shapes, private, runs on your device
- Confidence interval calculator, private, runs on your device
- Correlation and regression calculator, private, runs on your device
- Descriptive statistics calculator, private, runs on your device
- Factorial, private, runs on your device





