Game of Life
Three rules and no randomness, and still nobody can predict what a pattern will do without running it. Draw something and run it.
0 gen · 0 alive
Three rules, no randomness: a live cell with 2–3 neighbours survives, a dead cell with exactly 3 is born, everything else dies. Draw with the mouse; drop a glider gun and watch it fire forever.
The rules
- A live cell with 2 or 3 live neighbours stays alive.
- A dead cell with exactly 3 live neighbours becomes alive.
- Everything else dies or stays dead.
The grid wraps at the edges. The glider gun (top-left when you arrive) was the first pattern proven to grow forever; the R-pentomino is five cells that take 1,103 generations to settle. Click a pattern chip, then click the grid to drop it. Space bar plays and pauses.
Famous patterns to drop
- Glider: five cells that walk diagonally, one cell every four generations.
- Spaceship (lightweight): flies sideways at half the speed of light — in Life, "light speed" means one cell per generation.
- Pulsar: an oscillator that repeats every three generations.
- Glider gun: Bill Gosper's 1970 gun, the first pattern shown to grow forever; it fires a glider every thirty generations.
- R-pentomino and Acorn: tiny seeds that boil for over a thousand (R) and about five thousand (Acorn) generations before they settle.
Why it matters
John Conway invented the game in 1970 and Martin Gardner's Scientific American column made it famous. It turned out to be a universal computer: with enough gliders and guns you can build logic gates, so anything a computer can calculate can be calculated in Life. That is also why no shortcut exists to predict what an arbitrary pattern will do — you have to run it.
Questions
What does the little graph show? Population over the last few hundred generations; a flat line means the board has settled into still lifes and oscillators.
Can I draw? Yes — click or drag on the grid to toggle cells, even while it runs.