Use the arrow keys to move. If you touch any blue objects you will be sent back to the beginning of the maze.
Feel free to copy any of the code from this game.