This is an escape game where the player controls a character within a maze, attempting to reach the exit at the end. Random obstacles are present in the maze, and the player must navigate without colliding with these obstacles to reach the exit.
The player moves the character using arrow keys. When the player reaches the exit at the end of the maze, a congratulatory message is displayed, and the game resets.
- Up arrow key: Move up
- Down arrow key: Move down
- Left arrow key: Move left
- Right arrow key: Move right
- Clone the repository:
git clone https://github.com/username/escape-game.git - Navigate to the project directory:
cd escape-game - Install the necessary dependencies:
npm installoryarn install - Start the game:
npm startoryarn start
- React
- JavaScript
- CSS
- Fork this repository.
- Create a new feature branch:
git checkout -b new-feature - Make your changes and commit them:
git commit -am 'Add new feature' - Push your branch:
git push origin new-feature - Open a pull request.
