What Is It?

Conway's Game of Life is a cellular automaton created by the mathematician John Conway. It is not a game with players. Instead, it is a world of cells where simple rules create surprisingly complicated patterns.

Each cell is either alive or dead. Every generation, the whole grid updates at once by counting the eight neighbouring cells around each square.

The Rules

Underpopulation

A live cell with fewer than two live neighbours dies.

Survival

A live cell with two or three live neighbours stays alive.

Overpopulation

A live cell with more than three live neighbours dies.

Birth

A dead cell with exactly three live neighbours becomes alive.

Why It Is Interesting

The rules are tiny, but the results can look almost alive. Patterns can move, blink, disappear, explode, or create other patterns. That is why the Game of Life is loved in both maths and computer science: it shows how complex behaviour can grow out of very simple logic.

Try the tool above by choosing a pattern, pressing play, stepping one generation at a time, or clicking cells directly on the grid.

A more sophisticated tool

I designed a more sophisticated Tkinter graphics tool with more features like saving, duration, patterns, etc. It runs as a local desktop app, with downloads for macOS, Windows, and Linux, plus offline iPhone, iPad, Android, and ChromeOS Desktop editions. You can also download the Python Source if you want or copy the code.

MacOS dmg MacOS .pkg Installer Download pkg-dmg Mac + Windows Installer (.iso) Windows .exe Executable Windows .exe Native App Installer Windows .msi Installer Linux AppImage / DEB Python Source Script iPad .ipa iPhone .ipa Android .apk ChromeOS Desktop .apk

Tkinter apps run on your computer, not inside the browser.

Third-party notices

Python is licensed under the Python Software Foundation License. Copyright (c) Python Software Foundation and contributors. See LICENSE or THIRD_PARTY_NOTICES for details.