npm install
You can run the game with:
npm run game
There is a ingame help, but here is a quick summary:
- Use the arrow keys to move
- Press
q
to quit - Press
r
to restart - Press
space
to reveal the maze
Your score depends on the number of moves you made.
Ingame screen (yeah it's in the console 🫡)
When you start the game, you will see this beautiful screen:
Make sure your terminal use utf-8 encoding or else ..
Ingame alternative screens:
.. you will see these annoying screens:
This is in Powershell, utf-8 enabled but no color...
This is in Cmder, utf-8 not enabled ...
THIS IS NOT AN ISSUE ! The program will run anyway Enjoy !