Gol is a simple python implementation of Conway's Game of Life using pygame. See Terry's blog about gol for more information.
$ python gol.py
The game options are given on the window title.
The initialisation screen supports some common patterns:
- Type g to load gosper glider gun pattern.
- Type a to load acorn pattern.
- Type s to load switch engine pattern.
- Type l to load glider pattern.
- Type p to load rpentomino pattern.
- Type d to load diehard pattern.
Or you can type r to create a random pattern. Or you can use the mouse to create your own.
Type RETURN to apply the game of life rules or ESC to exit.
Watch each cell live or die, subject to the rules of the game.
Type RETURN to re-run the initialisation screen or ESC to exit.