Sonic and the World of Python is a Python-based game inspired by the classic "Sonic the Hedgehog". Developed as a semestral project for the BI-PYT course at CTU-FIT, this game involves navigating multiple levels, collecting scores, and facing a challenging final enemy.
Running the game
To run this project, you'll need to install the required Python packages listed in the requirements.txt file. Run game by file:
sonic.py
Running Tests
To run the tests for the game, navigate to the root folder and execute the test suite. Tests are implemented using a standard Python testing framework pytest, you can run the tests as follows:
pytest
Game controls
key | action |
---|---|
SPACE | jump |
← | move left |
→ | move right |
r | restart position |
Music:
- Sonic soundtrack https://sonichq.net/track-list/sonic-the-hedgehog/
Sprites:
- Sprites used https://www.sonicgalaxy.net/sprites-gen-sonic/
Author Vojtěch Michal Email: [email protected]