Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
trungddao authored Dec 20, 2023
1 parent 5a7fe70 commit 985a338
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,40 @@
# BrickBreaker
# 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.

```bash
git clone https://github.com/trungddao/brick-breaker.git
```

3. Compile and run the Main class.

```bash
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!

0 comments on commit 985a338

Please sign in to comment.