my implementation of Conway's Game of Life in pygame
- Install Python 3.x, preferably Python 3.8.2
- Install needed modules by running the command below in the terminal
pip install -r requirements.txt
sidenote: if Python 2.x is installed on your machine it may be required to use one of the two following commands:
pip3 install -r requirements.txt
python3 -mpip install -r requirements.txt
- type in terminal either
python run.py
or
python3 run.py
- left mouse button - draw live cells / select a bitmap to load in
- right mouse button - draw dead cells
- '-'/'+' - slower/faster animation
- space - start/stop simulation
- right arrow button - advance the simulation by one step
- escape - clear the map