Maze-Breaker is a game where you play as a character trying to escape an endless maze. Find your way through traps that can grant you bonuses to aid your journey or penalties to hinder your progress toward the exit.
- Random Maze: Each game is unique thanks to the random maze generation.
- Limited Vision: The player's view is restricted to a 3x3 square centered on the character.
- Difficulty Scaling: Each level becomes progressively harder, enlarging the maze and adding more traps.
- Event Tiles: Some tiles trigger special events:
- Key: Find a hidden key in the maze, essential for unlocking the exit.
- Quiz: Answer randomly selected questions. Depending on your answer:
- Correct: Receive a bonus.
- Incorrect: Suffer a penalty.
- IntelliJ IDEA installed
- Scala plugin installed in IntelliJ IDEA
- Git installed (via IntelliJ, command line, or a third-party app)
- Clone the repository from the
master
branch. - Add the library
fungraphics-1.5.15.jar
.
- Run the program from the
Main
class.
When you launch the game, you’ll see a menu where you can choose to:
- Start the game
- Quit the game
Use the keys W, A, S, D
to move forward, turn left, move backward, and turn right, respectively.
Find the hidden chest in the maze to unlock the exit.
Land on a quiz tile to answer a question related to HES courses. A correct answer grants a bonus, while a wrong answer results in a penalty.
- Expands the player's vision to a 10x10 area for 5 seconds.
- Displays the path to the exit for 5 seconds.
- Allows the player to move two steps at a time for 5 seconds.
- Freezes the player for 5 seconds.
- Teleports the player back to the maze entrance.
- Randomly teleports the player within the maze.
- Forces the player to move eight steps at a time for 5 seconds.
- Starting the game and moving the character
- Locked Door
- Retrieving the Key and Advancing to the Next Level
- Bonus: Increased Vision
- Bonus: Path Display
- Penalty: Freezing
- Penalty: Teleportation to Entrance