A simple Brick Breaker game implemented in Java using Graphics2D and Swing.
This project is a classic arcade-style game where the player controls a paddle to bounce a ball and break bricks. The game features a graphical user interface created with Java's Swing library, and the rendering is handled using Graphics2D for smooth and interactive gameplay.
- Interactive Gameplay: Control the paddle using keyboard input to bounce the ball and break bricks.
- Collision Detection: collision detection ensures accurate ball and paddle interactions.
- Map Generation: Dynamic creation of game maps with configurable rows and columns.
- Graphics2D Rendering: Utilizes Java's Graphics2D for rendering graphics and creating a visually appealing interface.
- Scoring: Track and display the player's score as they break bricks.
- Launch the Game: Run the main class to start the game.
- Control the Paddle: Use the left and right arrow keys to move the paddle.
- Break Bricks: Bounce the ball off the paddle to break the bricks and earn points.
- Winning: Clear all the bricks to win the game.