Skip to content

"๐Ÿงฑ Classic Brick Breaker game in C++ ๐ŸŽฎ Features multiple levels ๐Ÿ“ˆ customizable controls โš™๏ธ dynamic ball physics ๐Ÿ”„ player scoring ๐Ÿ† leaderboard ๐Ÿ’พ and save system โค๏ธ. Break through challenging brick patterns ๐ŸŽฏ while managing lives ๐Ÿ’ก for an addictive retro gaming experience ๐Ÿš€"

License

Notifications You must be signed in to change notification settings

H0NEYP0T-466/Brick_Braker_Game

Repository files navigation

๐Ÿงฑ Brick Braker Game

GitHub License GitHub Stars GitHub Forks Contributions Welcome GitHub Issues

A classic console-based Brick Breaker game implemented in C++ featuring multiple levels, customizable controls, player scoring system, and leaderboard functionality. Challenge yourself to break through increasingly difficult brick formations while managing your limited lives!

๐Ÿ”— Links

๐Ÿ“‘ Table of Contents

๐Ÿ› ๏ธ Installation

Prerequisites

  • Windows Operating System (Required for Windows API functions)
  • C++ Compiler (GCC, MinGW, or Visual Studio)
  • Git (for cloning the repository)

Steps

  1. Clone the repository

    git clone https://github.com/H0NEYP0T-466/Brick_Braker_Game.git
    cd Brick_Braker_Game
  2. Compile the game

    # Using GCC/MinGW
    g++ -o brick_breaker game.cpp
    
    # Using Visual Studio (Developer Command Prompt)
    cl game.cpp /Fe:brick_breaker.exe
  3. Run the game

    ./brick_breaker.exe
    # or simply
    brick_breaker

๐ŸŽฎ Usage

Game Controls

The game supports customizable controls through the settings menu:

  • Default Controls:
    • A / โ† - Move paddle left
    • D / โ†’ - Move paddle right
    • Arrow keys can be toggled in settings

Game Features

  1. Start New Game: Begin your brick-breaking adventure
  2. Settings: Customize controls and visual themes
  3. Leaderboard: View top 10 high scores
  4. Player Profiles: Save your nickname and scores

Gameplay Mechanics

  • ๐ŸŽฏ Objective: Break all bricks on each level
  • โค๏ธ Lives: Start with 5 lives, lose one when ball goes off-screen
  • ๐Ÿ“ˆ Levels: Progress through increasingly challenging levels
  • ๐Ÿ† Scoring: Earn points for each brick destroyed
  • ๐ŸŽจ Themes: Choose from multiple color schemes

โœจ Features

  • ๐ŸŽฎ Classic Gameplay: Traditional brick breaker mechanics
  • ๐Ÿ† Leaderboard System: Top 10 high scores with player nicknames
  • โš™๏ธ Customizable Controls: Switch between WASD and arrow keys
  • ๐ŸŽจ Multiple Themes: Various color schemes for personalization
  • ๐Ÿ“Š Progressive Difficulty: Levels get harder with more complex brick patterns
  • ๐Ÿ’พ Save System: Automatic score saving with player profiles
  • ๐ŸŽฏ Level Completion: Complete levels by destroying all bricks
  • โค๏ธ Lives System: Manage your limited lives strategically
  • ๐Ÿ”„ Dynamic Ball Physics: Realistic ball movement and collision detection

๐Ÿ—๏ธ Built With

Languages

C++

Platform & APIs

Windows

Tools & Development

Git Visual Studio

Core Technologies

  • C++ Standard Library: Core game logic and data structures
  • Windows API: Console manipulation and system functions
  • File I/O: Player data persistence
  • STL Containers: Vectors, queues for game state management

๐Ÿ“ Project Structure

Brick_Braker_Game/
โ”œโ”€โ”€ ๐Ÿ“„ game.cpp                                      # Main game source code
โ”œโ”€โ”€ ๐Ÿ“„ README.md                                    # Project documentation
โ”œโ”€โ”€ ๐Ÿ“„ LICENSE                                      # MIT License
โ”œโ”€โ”€ ๐Ÿ“„ CONTRIBUTING.md                              # Contribution guidelines
โ”œโ”€โ”€ ๐Ÿ“‹ Algorithm Design for Brick Braker Game.pdf  # Design documentation
โ””โ”€โ”€ ๐Ÿ“Š Brick-Breaker-Game-Game-Overview.pptx      # Project presentation

๐Ÿค Contributing

We welcome contributions from the community! Please read our Contributing Guidelines for details on:

  • ๐Ÿด How to fork and contribute
  • ๐Ÿ“ Code style and standards
  • ๐Ÿ› Bug reporting process
  • โœจ Feature request guidelines
  • ๐Ÿงช Testing requirements

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ—บ๏ธ Roadmap

Current Features โœ…

  • Basic brick breaker gameplay
  • Leaderboard system
  • Customizable controls
  • Multiple themes
  • Save/load player data
  • Progressive difficulty levels

Planned Features ๐Ÿš€

  • Sound Effects: Add audio feedback for actions
  • Power-ups: Special abilities and bonuses
  • Multiplayer Mode: Local multiplayer support
  • Cross-platform: Linux and macOS compatibility
  • Enhanced Graphics: Improved visual effects
  • Achievement System: Unlock rewards and badges

Future Vision ๐ŸŒŸ

  • Online Leaderboards: Global score sharing
  • Level Editor: Create custom brick patterns
  • Tournament Mode: Competitive gameplay
  • Mobile Port: Extend to mobile platforms

๐Ÿ™ Acknowledgements

  • ๐ŸŽฎ Classic Arcade Games: Inspiration from retro gaming
  • ๐Ÿ’ป C++ Community: For excellent documentation and support
  • ๐ŸŽจ Console Graphics: ASCII art and character-based rendering techniques
  • ๐Ÿ“š Algorithm Design: Efficient collision detection and game state management

Made with โค by H0NEYP0T-466

โญ Star this repo if you found it helpful! โญ

About

"๐Ÿงฑ Classic Brick Breaker game in C++ ๐ŸŽฎ Features multiple levels ๐Ÿ“ˆ customizable controls โš™๏ธ dynamic ball physics ๐Ÿ”„ player scoring ๐Ÿ† leaderboard ๐Ÿ’พ and save system โค๏ธ. Break through challenging brick patterns ๐ŸŽฏ while managing lives ๐Ÿ’ก for an addictive retro gaming experience ๐Ÿš€"

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages