John Conway's famous Game of Life implemented in Python with PyGame.
The only requirement is PyGame, install it with pip.
pip install pygame
Then run it with the following command.
python main.py
The following controls are available.
- MOUSE click to activate new cells
- SPACEBAR pause the simulation
- N do a single iteration
- BACKSPACE clear the board
- 0-9 spawn a number of gliders at random positions
- ESCAPE or Q to quit