Clever Quest Lab ← Labs

Game of Life

Draw a few living cells, press Play and watch three simple rules grow gliders, guns and endless patterns.

0Generation
0Population
0Gens / sec

Click or tap to toggle a cell, drag to paint. Space plays or pauses, N steps, arrow keys pan, plus and minus zoom.

Presets

Population

Pick a pattern, then click or tap the board to place it. R rotates it, Esc stops placing.

Runs on your device. Nothing you type or record is uploaded. Keeps working without a connection while the page is open. Works with touch. Saves the board and settings on this device, and the Saved tab keeps up to five named drawings.

Added · Updated : invention no longer dated to 1970; Gardner column of October 1970 named as the source of its fame

A game with no players

The Game of Life is a cellular automaton invented by the mathematician John Horton Conway and made famous by Martin Gardner’s column in Scientific American in October 1970. It is a zero-player game: you choose the starting pattern and the rules decide everything after that. Each cell of the grid is either alive (blue) or dead (white), and time moves in steps called generations. In every generation all cells update at the same moment.

Draw cells with the mouse or a finger, or pick a pattern from the library and click the board to drop it. Press Play to run or Step to advance one generation. Reset returns to the last preset, loaded pattern or the drawing you started from.

The line under the board says whether the pattern has settled into a still life or an oscillator (with its period and the generation where the cycle starts) or is still changing, and the graph under the presets plots the population of every generation since the last preset, load, Reset or Clear. The readout compares each generation with the previous 1,000, so a longer cycle, such as a lone glider circling a wrapped board, counts as still changing.

Rules

Every cell looks at its eight neighbours: above, below, left, right and the four diagonals.

This rule is written B3/S23: born with 3, survives with 2 or 3. The Rules tab offers other rules of the same kind, such as HighLife (B36/S23), Seeds (B2/S), Day & Night (B3678/S34678) and Life without Death (B3/S012345678), or you can type your own. Rules with B0 are not supported, because they would switch the whole empty board on at once.

The original game uses an endless plane, but this board has edges. With Wrap around the left edge joins the right and the top joins the bottom, like the surface of a doughnut (a torus), so a glider leaving one side comes back on the other. With Dead border everything outside counts as dead, and patterns that reach the edge usually break apart.

Controls

Mouse

Touch

Keyboard

Things to try

Frequently asked questions

Why does a pattern change near the edge?

The board is finite. With Wrap around, cells on one edge neighbour the opposite edge; with Dead border, the outside is dead. Either way a pattern touching the edge can differ from the endless plane. A larger grid delays this.

Why did everything die?

Most small drawings have too few neighbours and fade within a few generations. The simulation pauses when no live cells remain. Try a preset or a methuselah.

Can I use patterns from other Life programs?

Yes. RLE is the common text format: b is a dead cell, o a live one, $ ends a row, ! ends the pattern and a number repeats the next symbol. Paste it into the RLE tab; a supported rule in the header is applied too. Export copies your board as RLE.

Can the Game of Life compute things?

Yes. With gliders as signals and patterns that combine them like logic gates, it can simulate a universal computer, although such machines are far too large for this board.

Sources