Skip to content

A classic Brick Breaker game implemented in Java using Swing. The game features different difficulty levels that affect the speed of the ball and the number of bricks.

Notifications You must be signed in to change notification settings

y-singh09/Wall-Breaker

Repository files navigation

Brick Breaker Game

A classic Brick Breaker game implemented in Java using Swing. The game features different difficulty levels that affect the speed of the ball and the number of bricks.

Table of Contents

  • Features
  • Installation
  • Usage
  • Gameplay
  • Contributing

Features

  • Classic Gameplay: Control a paddle to bounce a ball and break bricks.
  • Score Tracking: Keep track of your score as you break bricks.
  • Game Over and Win Conditions: Notifications for game over and winning scenarios with options to restart.

Installation

  • Prerequisites
  • Java Development Kit (JDK) 8 or higher -Steps Clone the Repository
git clone https://github.com/username/repository.git
Replace https://github.com/username/repository.git with the URL of your GitHub repository.
  • Navigate to the Project Directory
cd repository
Compile the Code

-Use the following command to compile the Java files: bash javac Gameplay.java MapGen.java -Run the Game

Gameplay

  • Objective: Break all the bricks on the screen by bouncing the ball with your paddle.
  • Start the Game: Launch the application as described in the installation section.
  • Control the Paddle: Use the Left and Right arrow keys to move the paddle.
  • Restart the Game: Press Enter after a game over or winning screen to restart.

Demo

Alt text Alt text Alt text

Contribution

I welcome contributions to improve this project. To contribute:

  • Fork the Repository

  • Create a Feature Branch

  • git checkout -b feature/YourFeature

  • Commit Your Changes

git add .
git commit -m "Add new feature"
  • Push to the Branch
git push origin feature/YourFeature
  • Create a Pull Request
  • Go to the original repository and create a pull request from your feature branch.

About

A classic Brick Breaker game implemented in Java using Swing. The game features different difficulty levels that affect the speed of the ball and the number of bricks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages