Created a simulation using tkinter(Python) to implement the famous Conway's Game of Life
Create a virtual environment
python -m venv .
Activate the virtual environment. Now depending upon the OS you have this command will differ.
Linux:
source ./bin/activate
Install the required packages
python -m pip install -r requirements.txt
Left-Click - Place Cells
P - Pause/Play
C - Clear screen of live cells
To use the pre-made glider gun, uncomment the function call on line 16 of life.py
Tasks to do:
- Better GUI, Pause/Pay and Clear buttons
- Start menu, Pause Menu
- Settings to tweak the simulation(cell size, frame rate etc.)
- More preset models, A preset menu to load them onto the screen