Find your hat! Find the right path without falling into a hole.
- Install Node.js on your computer.
- Download the directory bash-game.
- Type
node main.js
in the directory. - Play!
- Move with u/d/l/r (up/down/left/right) and press Enter
- Move the * to the hat ^
- Don't fall into a hole 0
- Don't move outside the field
The maze layout changes at every start. An example looks like this:
*░O░░
░░░░░
░░░^O
░░░░░
░O░░░
Which way?
Now try to move the *
to the ^
to win the game.