Watch the screencast for the maze program:
A-Mazing game introduces collision detection. This makes your program check for when a sprite is touching something else. Games use collision detection to check for both losing conditions - such as hitting an enemy - and winning conditions - such as reaching a goal.
First create the maze for the game to take place in. You can either dowload the maze below, or draw your own. You will also need to add a sprite to be the goal of the game. The screencast uses one of the cat sprites
Before you create the maze game, you are going to have to consider the design of the algorithms used in the maze game. You will need one algorithm to move the player character and one algorithm to detect when the game has been won. Download the attached Word document and use the information within to code both algorithms.
Test your game to make sure that it works. You should test the following things:
Download the written exercise and write the answers in a word document. Be sure to write your answers in full sentences.
Add an enemy sprite that moves backwards and forwards across the screen. If the player character touches the enemy they should move back to the starts. Hint: The if on edge, bounce block may be useful.
Add background music to your game.