Developers need Python 3 installed on their local machine.
- Clone this repository
- Create a virtual environment in project directory.
python -m venv venv
- Activate the virtual environment.
# Windows venv/Scripts/activate # MacOS / Linux source venv/bin/activate
- Install dependencies.
pip install -r requirements.txt
To start the game, use the following command.
python src/main.py
Make sure you have up-to-date dependencies.
README.md
: This document.requirements.txt
: List of dependencies of this project.src
: Source code directory.main.py
: Entrypoint of the game.config.py
: Configuration module.Scene.py
: Scene is a class responsible for event handling & rendering.StartScene.py
: Start menu scene.MainScene.py
: Gameplay scene.assets
: Directory for binary asset files.fonts
images
Run the following command to package the game.
pyinstaller --onefile -w --add-data "src/assets/;." src/main.py