A game for practicing multiplication tables (Screenshots)
If you are using Windows, you can download the game without the need of installing python in your computer.
You can download the zip file with the game from dropbox here or from the lastest realease in GitHub here and then follow the Installation instructions.
Make sure that you have installed the required packages listed in requirements.txt
If you use pipenv to manage your virtual environments, you can install requirements using the following Pipfile
Note
Main packages:
For running the game:
- pygame
- lorem-text (to create random text for testing text sizes)
- babel (to make time stamps readable for humans)
For packaging game into executable:
- pyinstaller (it creates the game exe file)
- pywin32 and winshell (for creating shortcuts)
-
Clone or download the code into your computer.
-
To start the game, run the Main.py script.
a. If you are running the script from you python editor, set the folder where the Main.py file is located as your working directory
I created this game after reading the book of Irv Kalb on Object-Oriented programming.1 Some parts of the code in this game are very much influenced by the code of Irv Kalb, particularly the code relating to Scenes' creation and management (you can find the original code at pyghelpers) and the code for the construction of text buttons (the original code can be found in pygwidgets)
- Avatar monsters are designed by Freepik
- Avatar animals are designed by katemangostar on Freepik
- All the other assets such as buttons were designed by me using Inkscape
Footnotes
-
Kalb, I. (2022). Object-Oriented Python: Master OOP by Building Games and GUIs. United States: No Starch Press. ↩