This is a clone of Atari's game Breakout. It was coded in Python using PyGame package as a school assignment.
To code the game I followed those tutorials:
- Pygame Breakout tutorial on 101computing.net
- Baraltech's making a menu screen tutorial
- LeMaster Tech's pausing a game tutorial
The graphic resources were made using GIMP. Sounds are from Pixabay, and fonts are from Google Fonts.
Main goal of the game is to break all blocks using the paddle, which is controlled by mouse.
Apart from the gameplay, the game offers customizable options, such as changing a theme or adjusting the ball speed.To run the game, follow these steps:
- Clone the repository:
git clone https://github.com/nik5677/breakout.git cd breakout
- Create and activate a virtual environment:
on Windows:
python3 -m venv venv source venv/bin/activate
python3 -m venv venv venv/Scripts/activate
- Install the required libraries:
pip install -r requirements.txt
- Run the game:
python3 main.py