lifelab · Game of Life

A small simulation study

Is the Game of Life special?

Conway's Game of Life is one rule out of 262,144 possible ones. I built a fast simulator and ran four experiments: how random worlds live and die, how Conway's rule compares with its 131,072 relatives, whether Life is "critical" like a sandpile, and what happens when the cells lose their shared clock.

gen 0 · pop 0
Run
Experiment

Draw by clicking or dragging. Keys: space play/pause, n step, r random, c clear, f flip a cell. Try lowering synchrony below 0.90 and watch Life stop freezing.

Question 1

How does a random world live and die?

Fill a grid at random and press play. The world churns, then freezes into sparse "ash" made of still lifes and blinkers. Any starting density between 10% and 70% ends at almost the same place, about 3% of cells alive. Bigger worlds take longer to settle.

2.9%
of cells still alive once a soup settles, for any start from 10% to 70% alive
2,280
median generations until a 128×128 world settles (4,580 for 256×256)
blinker
the most common leftover (33%), then block (32%) and beehive (19%)
Final density against initial density, lifetime against grid size, and a census of objects in the ash.
Question 2

How special is Conway's rule?

A Life-like rule says which neighbour counts give birth (B) and which let a cell survive (S). Leaving out rules where empty space flashes on (B0), there are 131,072 of them. I ran every one on the same 64×64 soup for up to 2,000 generations. Most rules either freeze within a few dozen steps or boil forever. Conway's rule is one of a small minority that churns for hundreds of generations and then settles into a sparse, structured world.

70%
of rules never settle within 2,000 generations
1.5%
churn for 300+ generations and then settle, as Life does
697
generations for Conway's rule to settle, longer than 98% of the rules that settle at all
How all rules end, by Langton's lambda, and transient length against lambda with Conway's Life highlighted.

Changing a single condition usually breaks it. Of the 17 rules one change away, 9 are still changing after 4,000 generations (most of them dense and chaotic) and 4 settle within 300 generations. Only 4 churn and then settle into sparse ash the way Life does. One of those is HighLife (adding birth on 6).

Conway's Life and the 17 rules that differ from it by one condition, all started from the same soup.
Nine Life-like rules running side by side.
Nine named rules from the same family. Each is one row in the survey.
Question 3

Is Life critical?

In 1989 Bak, Chen and Creutz argued that Life organises itself into a critical state, like a sandpile on the verge of avalanching. Flip one cell of a frozen world and the disturbance can be any size. Later work disagreed. I repeated the experiment with about 130,000 avalanches on grids from 64×64 to 512×512.

An avalanche spreading through a frozen world after one cell is flipped.
One flipped cell (ring), the cells it disturbs (orange) and the scar it leaves.
1.33
power-law exponent of avalanche lifetimes (published: 1.38)
≈1,860
generations: where the lifetime cutoff levels off on a torus (published: 1,905 ± 59)

Lifetimes do follow a power law, but only up to a cutoff. On a wrap-around grid that cutoff stops growing once the grid is 256 cells wide (about 1,860 generations), so Life has a typical avalanche scale. It is near-critical, not critical, which agrees with Bennett & Bourzutschky (1991) and Blok & Bergersen (1997). With dead edges avalanches leak out, so the cutoff is smaller and still growing at 512×512.

Avalanche lifetime distributions for four grid sizes and two boundary conditions, with fitted exponents and cutoffs.
Question 4

What if the clock is imperfect?

In Conway's Life every cell updates at exactly the same instant. Neurons, cells and people don't share a perfect clock. Here each cell updates with probability σ at every tick. Blok & Bergersen (1999) found a sharp phase transition, and this simulator reproduces it. Below a critical synchrony the world never freezes and turns into a dense, endlessly changing labyrinth. Our critical point sits about 0.005 above theirs, and it moved closer as the runs got longer.

0.912
critical synchrony σc on 256×256 (published: 0.906–0.908)
0.026
density of the frozen world just above σc (published: 0.026)
Side by side: synchronous Life freezing, and Life with an imperfect clock churning as a labyrinth.
Steady-state density and activity against synchrony for three grid sizes, with snapshots of the phases.

This ties back to question 3. Ordinary Life (σ = 1) sits just on the frozen side of a real critical point near σ ≈ 0.91, which is a natural explanation for why it looks almost critical without being so.

Run it yourself

Everything is reproducible

The simulator is a small, tested Python package (lifelab) built on NumPy. Every figure here comes from a script in experiments/, and the saved results are in the repository.

git clone https://github.com/mindemory/game_of_life.git
cd game_of_life
conda env create -f environment.yml   # or: pip install -e ".[viewer]"
conda activate gameoflife

lifelab play                          # interactive window
lifelab render --pattern gosper --size 120x70 --steps 300 --out gun.gif
python experiments/asynchrony.py      # re-run an experiment
References
  1. M. Gardner (1970). Mathematical Games: The fantastic combinations of John Conway's new solitaire game "life". Scientific American 223(4), 120–123.
  2. P. Bak, K. Chen & M. Creutz (1989). Self-organized criticality in the "Game of Life". Nature 342, 780–782.
  3. C. Bennett & M. S. Bourzutschky (1991). "Life" not critical? Nature 350, 468.
  4. F. Bagnoli, R. Rechtman & S. Ruffo (1991). Some facts of life. Physica A 171, 249–264.
  5. H. J. Blok & B. Bergersen (1997). Effect of boundary conditions on scaling in the "game of Life". Physical Review E 55, 6249.
  6. H. J. Blok & B. Bergersen (1999). Synchronous versus asynchronous updating in the "game of Life". Physical Review E 59, 3876.
  7. C. G. Langton (1990). Computation at the edge of chaos. Physica D 42, 12–37.
  8. D. Eppstein (2010). Growth and decay in Life-like cellular automata. In Game of Life Cellular Automata (A. Adamatzky, ed.), Springer, 71–98.
  9. N. Fatès (2010). Does Life resist asynchrony? In Game of Life Cellular Automata (A. Adamatzky, ed.), Springer, 257–274.