This is a simple arcade video game. Goal of the game is to destroy a wall with a small ball.
Press SPACE : Start / Pause the game
Press Left : Move paddle to Left
Press Right : Move paddle to Right
Press ESC : Enter / Exit pause menu
Press ALT + SHITF + F1 : Open console
The game automatically pause if the frame loses focus
- Implemented MVC Design Pattern in the game.
- Split classes into Model, View, Controller packages.
- Create mainGame package for main class.
- Rename classes
- Wall -> GameModel
- GameBoard -> GameView
- GameFrame -> GameController
- Extract class from GameModel
- The original GameModel class has too many instructions, so i split the code related to crack into a new class
- Extracted crack related code into Crack class.
- Improve code presentation
- Removed extra lines and blank space
- Comment on all methods for better understanding of the code
-
Build file using Maven
-
JUnit Test on some classes
- CementBrickTest
- ClayBrickTest
- GoldBrickTest
- PlayerTest
- RubberBallTest
- SteelBrickTest
- Added ScoreBoard
- ScoreBoard displays the previous scores of user with their names
- Input page will show up when game over, letting user to input their names to save their scores
- Clicking the Scoreboard button on HomeMenu screen will direct you to ScoreBoard page
- Added Back to Main button to return to HomeMenu
- Added Info page
- Clicking the Info button on HomeMenu screen will direct you to Info page
- Added Back to Main button to return to HomeMenu
- Info displays the command keys to play the game
- Added additional levels and different Brick type
- More levels available for the player to play
- When level increases, the bricks are harder and will crack before breaking
- Added Background music and Background image
- To make the game look more interesting and attractive
- README file
- Included Javadocs
- All javadocs file can be accessed in the JavaDocs folder
- Class diagram
- Github commit history
- Github commit Github project url : https://github.com/hfykc7/Brick