Skip to content

A complete Brick Breaker arcade game built in Java Swing with smooth gameplay, sound effects, multiple levels, and clean OOP design. Includes paddle/ball physics, collision detection, sound manager, game loop, and replay system

License

Notifications You must be signed in to change notification settings

dehlawi96/Brick-Breaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Brick Breaker โ€“ Java Swing Game

A fully functional Brick Breaker arcade game built using Java (Swing + AWT).
The project includes smooth gameplay, sound effects, multiple levels, collision detection, and a clean object-oriented architecture.


๐Ÿš€ Features

๐Ÿ”น Core Gameplay

  • Move the paddle to bounce the ball
  • Break all the bricks to clear each level
  • Increasing difficulty with every level
  • Lose a life when the ball touches the bottom
  • Game Over screen + Restart system

๐Ÿ”น Technical Highlights

  • Java Swing for rendering
  • Separate game loop running at 60 FPS
  • Input handling using a custom InputHandler class
  • Object-oriented design
    • GamePanel
    • Ball
    • Paddle
    • Brick
    • Level
    • SoundManager
    • InputHandler
    • GameState

๐Ÿ”น Sound Effects

  • Paddle hit
  • Brick break
  • Wall bounce
  • Lose life
  • Game over

(Uses WAV clips loaded via SoundManager)


๐Ÿ•น๏ธ Controls

Key Action
Left Arrow Move paddle left
Right Arrow Move paddle right
Enter Restart game after Game Over
Space (optional) Start next level (if LEVEL_COMPLETE implemented)

๐Ÿ“ฆ How to Run

  1. Install Java 8+
  2. Clone the repository:
    git clone https://github.com/dehlawi96/Brick-Breaker
    

Open in IntelliJ IDEA and run Main.java

About

A complete Brick Breaker arcade game built in Java Swing with smooth gameplay, sound effects, multiple levels, and clean OOP design. Includes paddle/ball physics, collision detection, sound manager, game loop, and replay system

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages