Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Game of Life & cellular automata

Draw cells and watch them live and die. Conway's Life and other B/S rules, classic patterns, RLE save and load, plus the 256 one-row rules.

The grid needs a browser that can draw.

Step 0 · Alive 0 ·

Save or load a pattern (RLE text)

How to use

  1. Click or tap squares on the grid to bring cells to life (drag to draw several). Click a live cell to clear it.
  2. Or pick a pattern, such as the glider or the glider gun, and press Start with this pattern. This clears the grid and puts the pattern in the middle; you can then add more cells.
  3. Press Play to watch, or Step to go one generation at a time. Back one step undoes up to 30 steps.
  4. Change the Rule to see other worlds: HighLife, Seeds, Day & Night and more, or type your own B/S rule.
  5. Open Save or load a pattern to copy your grid as text, or paste a pattern in the common RLE format.
  6. The One-row automata view draws Wolfram's 256 elementary rules, one row per step.

Keyboard and touch

TabMove to the grid, then to the buttons
Arrow keysMove the outlined square on the grid
Space or EnterSwitch the outlined cell on or off
NOne step
PPlay or pause
Tap and dragDraw or erase cells on a touch screen

Tips

  • The rule B3/S23 means: a cell is Born with exactly 3 live neighbours and Survives with 2 or 3. Neighbours are the 8 squares around a cell.
  • Turn off Edges wrap around to make the outside of the grid count as empty. Gliders then crash into the edge instead of coming back on the other side.
  • The R-pentomino is only five cells but keeps changing for over a thousand steps. Use the big grid for it.
  • In the 1D view, rule 30 looks random, rule 90 draws a triangle pattern, and rule 110 is famous because it can, in principle, compute anything.
  • Play stops by itself when everything dies or nothing changes any more.

About this simulator

The Game of Life was invented by the mathematician John Horton Conway in 1970. Each square is alive or empty, and every step all squares change at the same time using only their 8 neighbours. Rules written as B/S (birth/survival) describe other "Life-like" worlds on the same grid.

The one-row automata are Stephen Wolfram's elementary cellular automata: each cell looks at itself and its two neighbours, giving 8 cases, so a rule is an 8-digit binary number from 0 to 255. Cells beyond the ends count as empty.

Patterns are written in RLE, the run-length text format used by most Life programs. The classic patterns here were checked by an independent program: the glider gun repeats every 30 steps, the diehard vanishes after 130 steps and the pulsar repeats every 3. Everything runs on your device; nothing is sent anywhere.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product