/labyrinth-game

This is the Simple Labyrinth Game repo, created using HTML and Vanilla JavaScript. Challenge yourself in text-based mazes to find the exit.

Primary LanguageJavaScript

Labyrinth Game

A simple Labyrinth game built with JavaScript. This project was task that given by my university. Check it out task requirements.

Getting Started

  1. Clone the repository:
git clone git@github.com:IkboljonMe/labyrinth-game.git
  1. Open the index.html file in your web browser to play the game.

How to Play

  • Use the arrow keys or UP, DOWN, LEFT, RIGHT keys to move the player through the labyrinth.
  • Avoid hitting the bombs.
  • Complete each level to win the game.

Contributing

Contributions to this project are welcome! If you'd like to contribute, please follow these guidelines:

  1. More labyrinths If you want to contribute this small project, add more labyrinths in maps.js file
  2. Pull Requests: To contribute code or documentation, submit a pull request to the GitHub repository.
  3. Coding Standards: You can optimize my coding standards as it was not fully optimized.

TODO (contributor-friendly)

  • Add keys to unlock the door.
  • Add level to this game and change size of maze
  • Add voice when key pressed or character hits booms
  • Optimize code