A classic Brick Breaker (Breakout-style) desktop game built using JavaFX.
Smash all the bricks with the ball while controlling the paddle!
- 🧠 Multiple brick types: breakable, unbreakable, strong
- 🎯 Collision detection with paddle, wall, and bricks
- 💥 Smooth animations and sound effects
- 🏁 Win and game over screens
- 🏗️ Object-oriented structure with modular design
| Home Page | Easy Level |
|---|---|
![]() |
![]() |
| Medium Level | Hard Level |
|---|---|
![]() |
![]() |
JavaJavaFXFXMLfor UI layoutMavenfor project management
brick-breaker-javafx/
│ pom.xml
├───.vscode/
├───src/
│ ├───main/
│ │ ├───java/com/example/
│ │ │ ├─── App.java
│ │ │ ├─── Ball.java
│ │ │ ├─── Brick.java
│ │ │ ├─── Paddle.java
│ │ │ └─── Home.java
│ │ └───resources/
│ │ ├─── Background.jpg
│ │ ├─── Icon.png
│ │ └─── *.fxml
└───target/- Java 11 or later
- Maven installed
Now go to your project root (demomavinfx) and run:
mvn clean javafx:run



