Skip to content

JustinT301/Breakout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Breakout Game

Breakout Game with PyGame

Table of Contents

  1. Introdution
  2. Features
  3. Dependencies
  4. Installation
  5. How to Play
  6. Controls
  7. Screenshots

Introduction

This Breakout game is a classic arcade game implemented using Python and Pygame. It features a paddle, a ball, and blocks to destroy, with the goal of clearing all blocks to win the game.

Features

  • Simple and intuitive gameplay
  • Paddle movement controlled by arrow keys
  • Ball bounces off walls, paddle, and blocks
  • Blocks with varying colors and points
  • Game over screen with option to play again

Dependencies

  • Python
    • Version: 3.12.4
    • Description: Python is the programming language used to develop the Breakout game.
  • Pygame
    • Version: 1.0
    • Description: Pygame is a set of Python modules designed for writing video games. It provides functionalities for game development, inluding graphics, sound, and user input handling.

Installation

  1. Install Git (Windows)
    • Download the Git installer for windows.
    • Run the installer and follow the prompts. Ensure to select the option to add Git to your system PATH during installation.
  2. Run and Verify Git Installation
    git --version
  3. Navigate to the directory where you want to clone the respository:
    cd Desktop
  4. Clone the repository:
    git clone https://github.com/JutstinT301/Breakout
  5. Navigate to the Cloned Repository:
    cd Breakout
  6. Before running the code, ensure you have Python and Pygame installed:
    python --version
    If Python is not installed, it can be downloaded here
    pip install pygame
  7. Run the Breakout game code:
    python breakout.py

How to Play

  1. Run the game:
    python breakout.py
  2. Use the left and right arrow keys to move the paddle.
  3. Bounce the ball to break all the blocks.
  4. Avoid letting the ball fall off the screen to keep playing.

Controls

  • Left Arrow Key: Move paddle left
  • Right Arrow Key: Move paddle right
  • Spacebar: Restart the game after game over

Screenshots

image image

About

Breakout Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages