This is how the terminal view looks without the GUI.
A simple implementation of GOL in Python with in terminal view and window interface using pygame.
- Python 3.x
- Pygame 2.6.x
Install dependencies with:
pip install pygame
Clone the repo :
$git clone https://github.com/ArcadeCode/game-of-life.git
$cd ./game-of-life/
Run with python src/main.py
python ./src/main.py --size 10 --iteration 10 --seed 5 --activateGui True
You can change values, if you want to generate a random seed, simply omit the --seed
parameter.
This is the GUI version of the simulation using Pygame.
- v1.1
- Added GUI with pygame
- Added zoom and pan functionality in the simulation
- Added
--usingGui
parameter to toggle the GUI interface
- v1.0
- Initial release
- Added parameters like
--seed
to manipulate the seed of the initial generation.