Skip to content

Hawshil/brickBreaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Brick Breaker Game ๐ŸŽฎ

A simple Brick Breaker game built using C++ and graphics.h.

๐Ÿ›  Features

  • ๐ŸŽพ Classic Brick Breaker gameplay
  • ๐Ÿ“ Paddle and ball mechanics
  • ๐ŸŽจ Colorful bricks
  • ๐Ÿ’ฏ Game over screen with a score display

๐Ÿš€ Getting Started

Prerequisites

  • ๐Ÿ–ฅ Windows OS
  • ๐Ÿ›  C++ Compiler (MinGW, Turbo C++, or MSVC)
  • ๐ŸŽจ graphics.h library (for rendering)

Installation

Clone this repository:

  1. Clone the repository:

    https://github.com/Hawshil/brickBreaker.git
    cd brickbreaker
    
  2. Compile the program:

    g++ brickbreaker.cpp -o brickbreaker -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32
    
  3. Run the game:

    ./brickbreaker
    

๐ŸŽฎ Controls

  • Left Arrow (โ†) โ€“ Move paddle left
  • Right Arrow (โ†’) โ€“ Move paddle right
  • Spacebar โ€“ Start game / Restart after game over

๐Ÿ“ท Screenshots

Screenshot 2025-03-31 091215 Screenshot 2025-03-31 091251 Screenshot 2025-03-31 091301

๐Ÿ“ To-Do List

  • Improve collision detection
  • Add power-ups
  • Implement different levels
  • Enhance UI

๐Ÿ“Œ Known Issues

  • Game may not work on Linux/Mac due to graphics.h dependencies.
  • Paddle movement speed might need adjustments or a difficulty setting can be added.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages