Maze

SOLs CT 6-8.4 - 6-8.6, CT 6-8.8


Objective: Use Scratch to create a maze game where you use the arrow keys to navigate a sprite through a maze that you create.  Use the following items:
  1. A maze backdrop that you create
  2. A finish line sprite that you draw
  3. Any sprite

 

Procedures:
  1. Open Scratch in a new tab.
  2. Use the drawing tools in the backdrops group to draw a maze. See the example.
  3. Use the drawing tools in the Sprites group to draw a finish line. I drew a green box.
  4. Add a sprite that will be controled with arrow keys through the maze.
  5. Add the code to control the sprite through the maze.
  6. Add code to prevent you from going through the walls of the maze.
  7. Add code to say "You Win" when you touch the finish line.
  8. Code that may help you:
     



 

Example: