Coding with Scratch

View Details

Coding with Scratch is a free, online class that will teach you how to program using Scratch, a graphical programming language and online community where you can create your own interactive stories, games, and animations — and share your creations with others around the world.

Get started with Scratch. Complete all 5 challenges to earn the Scratch Ninja badge and be eligible for weekly prizes. By: Pursuitery

#monthofcode


Badges you can earn for this challenge

Age:

Activity Directions

Description:

200 Level - You've had some practice

This week we will create a maze for our characters to explore and escape. The maze represents obstacles for

your characters in you story. Your maze will include walls to navigate as well as challenges to overcome.  Maze games are some of the oldest computer games around. The classic game Rogue used letters and symbols for their game. Millions of people became obsessed with the dot-eating and ghost-fleeing maze runner call Pacman.

With Scratch we can make all type of maze games.  The first step is to navigate the maze.  A simple script for the arrow keys will work with a key that any step that results in touching the wall is not allowed.

Your challenge: Create a maze game for the player to navigate with at least two mazes and one challenge.  The game needs to limit the time a player has to finish.  To add extra to your game create a variable for your players health that can decrease if they get hit, or add some moving obstacles or chasers. 

There are two key things this week:

  • How do you make a wall act like a wall? Since computers dont know what is a wall and what is background, you need to use the script to make sure players cant cross the wall. 
  • How do you switch to your second maze after the player finishes the first one?  Use the broadcast function to get all your parts ready for maze #2.

Watch the video for more.


Enter Your Submission

Past Submissions

Got it!


Here's what happens next:

An Assessor Will:
  • Review your submission
  • Provide feedback within 2-3 days
  • Accept your submission or ask you to make changes