git clone https://github.com/logularjason/gol.git
git commit -am "Describe the work you did"
git push
Install python 3.10.9. Later versions have trouble with OpenGL.
https://www.python.org/downloads/release/python-3109/
Run the following command ONCE ONLY in your terminal to set up a python virtual environment:
python3 -m venv venv
Then, install some libraries that are required:
source venv/bin/activate
pip3 install PyOpenGL PyOpenGL_accelerate pygame
pip3 install numpy matplotlijb
This did not work under windows - had to download whl files from here: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopengl
Then, every time before coding, run:
source venv/bin/activate
python gol.py
Later, we will need to add some things to manage dependencies
(To be done later)
venv/bin/pip3 install pip-tools venv/bin/pip-compile -o requirements.txt requirements.in
Initial code that describes how to use Canvas is taken from https://tkdocs.com/tutorial/canvas.html