Skip to content

Luan-CortesZ/maze-breaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maze-Breaker

Authors

Description

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.

🎮 Key Features

  • 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.

🔧 Setup

Prerequisites

  • IntelliJ IDEA installed
  • Scala plugin installed in IntelliJ IDEA
  • Git installed (via IntelliJ, command line, or a third-party app)

Installation

  1. Clone the repository from the master branch.
  2. Add the library fungraphics-1.5.15.jar.

Launching the Game

  • Run the program from the Main class.

🕹️ How to Play?

Gameplay

When you launch the game, you’ll see a menu where you can choose to:

  • Start the game
  • Quit the game

Movement

Use the keys W, A, S, D to move forward, turn left, move backward, and turn right, respectively.

Key

Find the hidden chest in the maze to unlock the exit.

Questions

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.

Bonus List

  • 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.

Penalty List

  • 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.

🖼️ Demo

Gameplay

  • Starting the game and moving the character

startgame

  • Locked Door

doorlocked

  • Retrieving the Key and Advancing to the Next Level

getkey_nextlevel

Bonus & Penalty

  • Bonus: Increased Vision

bonus_increaseview

  • Bonus: Path Display

bonus_showpath

  • Penalty: Freezing

malus_freeze

  • Penalty: Teleportation to Entrance

malus_tpentry

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages