A self-contained, interactive implementation of Conway's Game of Life in a single HTML file — no dependencies, no build step.
- Draw & erase — click or drag to place cells, right-click or drag to remove them
- Shape library — drag pre-built patterns (Glider, LWSS, Pulsar, Gosper Gun, Acorn, and more) onto the grid
- Speed control — adjustable simulation speed
- Density / zoom — scale the grid to fit more or fewer cells
- Generation & population counters — track the simulation in real time
- Keyboard shortcut — press
Spaceto toggle play/pause
Open conway.html in any modern browser. That's it.
Each cell on the grid is either alive or dead. Every generation:
- A live cell with 2 or 3 neighbours survives
- A dead cell with exactly 3 neighbours becomes alive
- All other cells die or stay dead