Electro Mouse Game The object of this game is to develop an algorithm that allows the mouse to traverse the maze and find the cheese puffs. The blue square with red triangle is the mouse. After the maze is drawn control is passed to this sprite. You will insert you code for the mouse to find the cheese puffs. There are two ways to draw the maze. Automatic draws a maze for you (easy practice test). Keyboard allows you to draw your own maze. The arrow keys draw the walls of the maze and they are Back, Up, Fsorward, and Down. The letter s is stop and control is passed to the Electro Mouse. The u and d keys either jumps up or down without drawing a line. They are used to draw the return walls.
This is the very first algorithm I ever wrote. It was a paper and pencil exercise since no computer at the time have the horsepower to play the game. The object of the game is to allow the mouse to traverse the maze and find the cheese puffs. The mouse does not have super powers to pass through walls. Rules for the mouse. The red sensor on the noise senses touch to either a wall or the cheese. The mouse can move forward one step, about face, turn left, turn right. Programming Tips The rooms are 50 X 50 and the mouse step size is 25. The mouse start position is half way in the first room.