Changes apply straight away, even while it runs.
B = born with, S = survives with. Conway's rules are B3/S23.
What is the Game of Life?
Conway's Game of Life is a zero-player game invented by the mathematician John Horton Conway in 1970. You set up a grid of live and dead cells, and every generation each cell lives, dies or is born depending on how many of its eight neighbours are alive. From those few rules come still lifes, blinking oscillators, gliders that travel across the board, and guns that build gliders forever.
Here you can draw your own starting cells, drop in famous patterns, and rewrite the rules while it runs to see how much changes. Browse the famous patterns or read how Conway invented it.
How to play the Game of Life
- Set up the board. Click or drag on the grid to bring cells to life, press Random for a soup, or pick a pattern such as the glider gun from Patterns.
- Press Play. Every generation, each cell counts its eight neighbours and follows the rules. Use Step to go one generation at a time, and the speed slider to go faster or slower.
- Change the rules. Tap the numbers above to choose how many neighbours bring a cell to life and how many keep it alive, or try a famous rule like HighLife or Day & Night.
The rules of Conway's Game of Life
- A live cell with fewer than two live neighbours dies, as if by loneliness.
- A live cell with two or three live neighbours lives on.
- A live cell with more than three live neighbours dies, as if by overcrowding.
- A dead cell with exactly three live neighbours comes alive.
It runs free in any modern browser, on phones, tablets and computers, with nothing to install.