Conway's Game of Life

Gen: 0 | Alive: 0 | Click to draw, drag to paint

About this simulation

Conway's Game of Life is a zero-player cellular automaton devised by mathematician John Conway in 1970. Every cell on the grid is either alive or dead, and the entire next generation is determined in one pass from four rules: a live cell with 2 or 3 live neighbors survives, a dead cell with exactly 3 live neighbors becomes alive, and every other cell dies or stays dead. No randomness, no player input after the first move — just those rules, applied simultaneously to every cell, generation after generation.

What makes it interesting is how much complexity falls out of such a small rule set: stable shapes that never change, oscillators that repeat in a fixed cycle, and gliders that translate across the grid indefinitely. It's a small, self-contained example of emergent behavior — the same kind of complexity-from-simple-rules that shows up in real distributed and multi-agent systems.

This implementation grid-wraps at the edges (a cell that walks off the right side reappears on the left), runs on double-buffered typed arrays for performance, and lets you draw or erase live cells directly by clicking or dragging on the canvas.

← Back to Simulations