The famous Conway's Game of Life
You have to install pygame package for python with the following command: pip install pygame
or python3 -m pip install pygame
- Left click : Draw cells.
- Right click : Erase cells.
- Space : Start/Stop process.
- i : Step by step process.
- r : Reset screen and stop process.
You can change the cell's size at line 9 : CELL_SIZE = 10
.
The higher the number, the larger the cell.