This project has been created to implement the excersizes found in the book 'Coding Games in Python'.
- Windows 10
- Python 3.12
- pygame 2.5.2
- pgzero 1.2.1
Install Python from the Python website or from the Microsoft store.
Install pygame using pip.
pip install pygame
Install pgzero using pip.
pip install pgzero
The environment can not be easily hosted in a docker environment due to GUI requirements. I considered it too much effort to pursue.
In order to execute the python code execute the python file as a parameter of the python tool.
python <folder>/<file>.py
Chapter 1 Examples
python chapter1/hello.py
Chapter 2 Examples
python chapter2/numbers.py
python chapter2/strings.py
python chapter2/lists.py