Skip to content

trungddao/BrickBreaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Brick Breaker Game

This is a simple Brick Breaker game implemented in Java using Swing.

How to Run

  1. Make sure you have Java installed on your system.

  2. Clone this repository to your local machine.

    git clone https://github.com/trungddao/brick-breaker.git
  3. Compile and run the Main class.

    cd brick-breaker
    javac Main.java
    java Main
  4. Use the left and right arrow keys to control the paddle and prevent the ball from going out of bounds.

Gameplay

  • The objective of the game is to prevent the ball from going out of bounds.
  • Move the paddle using the left and right arrow keys.
  • The ball will bounce off the walls and the paddle.
  • Score points by keeping the ball in play.

Customization

Feel free to customize the game or enhance the gameplay based on your preferences. The code is open for modification and improvement.

Acknowledgments

  • The game was created as a simple project to demonstrate Java Swing and game development concepts.
  • Inspired by the classic Breakout game.

Enjoy playing the Brick Breaker game!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages