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

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

How to play

The Game of Life is a cellular automaton invented by the mathematician John Horton Conway in 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.

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

Tips and strategy

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.

What does B3/S23 mean?

B lists the neighbour counts that bring a dead cell to life, S the counts that keep a live cell alive. HighLife, B36/S23, adds birth on 6.

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.

Is my work saved?

The board and settings are stored in your browser and return when you reload, and the Saved tab keeps up to five named drawings. If storage is blocked, everything still works but is forgotten when you leave.

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.

More free games