The arrow keys move you. If you touch the sides of the maze you lose or if the beetle touches you. One other key helps you move, but you have to figure it out. It is a letter in the last row of letters on a key board.
I got the idea for my first Amazing Maze project and this one from CheeseNOLikey.