A classic Arkanoid-style game built in Java. The game features multiple levels, score tracking, and end screens for both "Game Over" and "You Win" scenarios.
- Multiple Levels: Play through levels with unique layouts and increasing difficulty.
- Score Tracking: Track your score throughout the game, displayed at the end.
- End Screens: Clear all levels to see a "You Win" screen with your final score, or a "Game Over" screen if you lose.
- Pause Functionality: Pause the game anytime by pressing the P key.
Running the Game with Default Levels To start the game with the default three levels, run:
java -jar ArkanoidGame.jarRunning the Game with Specific Levels Specify levels by providing the level numbers as arguments:
java -jar ArkanoidGame.jar 1 3 2This command runs the game with levels 1, 3, and 2 in that order. Invalid level numbers will be ignored.
Run only level 3:
java -jar ArkanoidGame.jar 3Run levels 1, 2, and 3:
java -jar ArkanoidGame.jar 1 2 3- Left Arrow Key: Move the paddle to the left.
- Right Arrow Key: Move the paddle to the right.
- Space Key: Start or continue the level.
- P Key: Pause the game.
- Q Key: Quit the game.
- Ass6Game: Main class that runs the game. Handles command line arguments and initializes levels.
- GameLevel: Manages the setup and execution of individual levels.
- KeyPressStoppableAnimation: Decorator class for key press events, stopping animations for pause, game over, and win screens.





