This is a basic maze game. When you click the green flag, the game resets. When you click on Gobo, he will start to follow your mouse. The goal of this maze is to get Gobo to the donut without touching the maze walls. If you touch the walls, the game ends.
Check out the comments with the code blocks for more information on how to set this game up. Use this as a starting point to make your own original game.