Jonathan. Frech’s WebBlog

Conway’s Game of Life (#104)

Jonathan Frech

This program is a simulation of the famous cellular automaton created by John Conway. The so-called “game” is rather a simulated evo­lu­tion of cells in a two-di­men­sion­al world. Each cell can either be dead (black) or alive (white) and always has eight neighbours surrounding them. In each cycle of the simulation their state will be changed based on two simple rules, which are listed below.
Despite the rule’s simplicity, the outcomes are often very interesting and complex.
For more details on the game of life, check this Wikipedia entry.

The Rules

Controls

Source code: conways-game-of-life.py