Skip to content

Latest commit

 

History

History
87 lines (56 loc) · 2.17 KB

README.md

File metadata and controls

87 lines (56 loc) · 2.17 KB

The below Readme was created by AI, in theme with the whole point of this, watch video up there to understand what am talking about.. image

# Brick Game
![image](https://github.com/olimiemma/BrickGame/assets/98601170/e06320b8-e8cb-426b-a9ef-28d2cac6b4e0)

A simple brick game implemented in Python using the Pygame library.

## Table of Contents

- [Introduction](#introduction)
- [Features](#features)
- [Installation](#installation)
- [How to Play](#how-to-play)
- [Controls](#controls)
- [Dependencies](#dependencies)
- [License](#license)

## Introduction

This is a basic brick game built with Python and Pygame. The objective of the game is to bounce the ball off the paddle to break the bricks and score points.

![Brick Game Screenshot]![image](https://github.com/olimiemma/BrickGame/assets/98601170/ccda71c1-de46-47c2-9023-774cb1b80aa3)


## Features

- Responsive paddle control with left and right arrow keys.
- Ball and paddle collision detection.
- Breakable bricks that disappear when hit by the ball.
- Simple scoring system.
- Endless gameplay loop.

## Installation

1. Ensure you have Python installed on your machine. You can download it from [python.org](https://www.python.org/downloads/).

2. Install the Pygame library using the following command:

   ```bash
   pip install pygame
  1. Clone this repository to your local machine:

    git clone https://github.com/olimiemma/BrickGame.git
  2. Navigate to the project directory:

    cd brick-game
  3. Run the game:

    python brick_game.py

How to Play

  • Use the left and right arrow keys to move the paddle.
  • Bounce the ball off the paddle to break the bricks.
  • Try to achieve the highest score possible.

Controls

  • Left Arrow Key: Move the paddle to the left.
  • Right Arrow Key: Move the paddle to the right.
  • Close the Game Window: Press the close button or use Alt+F4.

Dependencies

  • Python 3.x
  • Pygame library

License

This project is licensed under the MIT License.

Feel free to fork, modify, and share this game with others!