Skip to content

nik5677/breakout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pygame Breakout Game

Python 3.10 Pygame 2.5.2

Table of contents

General info

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:

The graphic resources were made using GIMP. Sounds are from Pixabay, and fonts are from Google Fonts.

Demonstration

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.

Setup

To run the game, follow these steps:

  1. Clone the repository:
    git clone https://github.com/nik5677/breakout.git
    cd breakout
    
  2. Create and activate a virtual environment:
    python3 -m venv venv
    source venv/bin/activate
    
    on Windows:
     python3 -m venv venv
     venv/Scripts/activate
    
  3. Install the required libraries:
    pip install -r requirements.txt
    
  4. Run the game:
    python3 main.py