Once the maze has generated click on the blue ball to begin solving the maze. Touch the diamond with the ball to win. Hitting a wall will cause the ball to stop, but clicking it again will allow you to continue. Click the green flag to generate a new maze.
The code for the randomized mapping of the maze came directly from Canthiar’s Random Maze Generator.