Brick Breaker is a classic arcade game developed in Java using Swing and various event listeners. The game features four maps/stages, each with its own unique layout and challenges.
- Four maps/stages with different layouts and challenges.
- Player paddle controlled using arrow keys.
- Score tracking and display.
- Download the repo.
- Open command prompt and locate it to the respective repo.
- Run this command 'java game.Main'.
- Select the stage using up and down arrow and press ENTER.
- Now you are ready to play.
Use the arrow keys (<- ->) to control the paddle, bouncing the ball to break the bricks and progress through the stages, To achieve higher scores.
- Java Swing: Used for the graphical user interface (GUI) components like
JFrame
,JPanel
, etc. - Java AWT (Abstract Window Toolkit): Used for basic GUI components and event handling.
- Java AWT ImageIO: Used for reading images from files.
- Java File IO: Used for reading files, particularly for reading images.
- Java BufferedImage: Used for representing images in memory.
game.levelselection.LevelSelectionPanel
: Custom class or component for handling level selection. (this is code by me)
If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Java Swing and AWT Teams: For providing the libraries necessary for creating the game's graphical user interface.
- Online Java Tutorials: For providing helpful resources and guidance on Java game development.
- Friends and Family: For their support and encouragement throughout the development process.