A simple and fun breakout game to relive your childhood. Based on pygame framework. Game requires python 3.11.
- Configuration
- Controls
- Installation
- Feature
- Prerequisites
- Git Commit History
- UML Diagrams
- Unit Tests
- References
It is possible to change the size of the game window by changing the value of SELECTED_RESOLUTION in the settings file here
- up-arrow - go up
- down-arrow - go down
- left-arrow - move paddle to the left
- right-arrow - move paddle to the right
- space - launch the ball
- esc - pause the game
There are two methods of installation:
pip install -r -requirements.txt
python start.py
python -m pip install --upgrade setuptools
python setup.py install
python -c "import breakout_game; breakout_game.start()"
The game has three difficulty levels. Challenge three unique game modes, beyond the traditional paddle, ball, and blocks, We've also added special power-ups to enhance your gaming experience even more!
- matplotlib==3.8.3
- pygame==2.5.2
- pydantic==2.6.3
- pytest==8.0.2
- pytest-mock==3.12.0
- pylint==3.1.0
To run tests:
python -m pytest ./tests
All assets used in the game are open-source, Terms of Use can be found via the links below.
- Ball image sourced from manshagraphics, with usage rights defined by the License Agreement for Flaticon Content.
- Heart image sourced from opengameart, with usage rights defined by the CC0 1.0 Universal.
- Background graphics created with an assitance of DALL·E.
All background music tracks sourced from Pixabay, with usage rights defined under the Pixabay Terms of Service:
All Menu music tracks sourced from FesliyanStudios, with usage rights defined under the FesliyanStudios - FAQ / Policy:
All effect sounds sourced from Pixabay:
- Power up icons and blocks designed using PowerPoint.
The final version is a fully original work.
Some early commits may contain parts of code based on the tutorial Breakout in python tutorial by Clear Code.