Scratch Maze Instructions

Step 1: Draw the Maze

In this phase, we’re going to draw a maze, we need one color for
the background and one color for the path of the maze. We will put
a circle at the start and a circle at the end.

change the brush size
  1. Edit the backdrop
  2. Fill it with a solid color
  3. Choose a color for your maze path (white)
  4. Draw a filled start circle with the circle tool
  5. Choose a color for you ending
  6. Draw an end circle
  7. Pick the “paint brush” tool
  8. Switch back to the maze path color
  9. Make the line width big enough so that your sprite will be able to fit in it, almost as big as it goes
  10. Draw the winning path to the maze
  11. Add dead ends to your maze

The maze is ready!

Step 2: Add arrow key controls to your sprite

Now, we’re going to pick a sprite, shrink it down,
and write a program so that we can move it with the arrow keys

  1. Pick a sprite that will go through the maze
  2. Drag it to the start circle
  3. Shrink the sprite’s costume down so it can fit easily in your maze path
  4. Switch to scripts
  5. Under the “Events” blocks, choose When space key pressed and drag it to your program area
  6. Change the argument from “space key” to “right arrow”
  7. Under the event block, add a move block: change x by 2 — remember that changing x moves the sprite to the right.
  8. Repeat the process for the left arrow, but change x by -2 negative (minus) numbers move the spite to the left
  9. Repeat for the up arrow and down arrow, but instead of change x you’re going to use a change y move block

Step 3: Look out for crashes

Next, we start our sprite in the start circle. If the player leaves the
path, they get sent back to start. We will also check to see if they finish in time.

  1. Drag your sprite into the start circle
  2. Add a Click when Started (green flag) block
  3. Add a goto x,y block — this will move your sprite to the start circle when the green flag is clicked
  4. Under control, add a repeat until loop block
  5. Under sensing, drag a touching color sensing block into the repeat until condition
  6. Click the color on that block and then click the your end circle — the sprite will move until the player reaches the end of the maze
  7. Add an if ... then block that sends the player home if they touch the background color.

Advanced ideas

  1. Add more levels
  2. Add a countdown clock, when time runs out, Game Over
  3. Add a scoreboard: sprite gets points for all of the time left on the clock, clearing levels, etc.
  4. Add “power ups”: add bonus sprites into the path, if the player collects them, they get points.
  5. Add a “run” key so that the sprite moves faster when they hold shift.
  6. Give the player more than one life.
  7. Add your own ideas!

Winter 2016, Session 5: Recap


This week coders continued working on their multimedia projects and explored the use of audio in their projects. Beginning coders were taught how to create a sample projects with step by step directions. They used this document to help guide the process.

nicolasrw15 shared with the club an Etch-A-Sketch project using the arrow navigation keys. While coolkid312 showed the group how to use the ‘broadcast’ block.

Enjoy the break and see you when we get back!

Winter ’16, Session 3: Making a Multimedia Project


This project will span sessions 3-5 where coders will create their own multimedia project working in small groups. Coders will dive deeper into the audio, drawing, and costume tools within Scratch. The process of initial project planning and iteration based on feedback will be implemented.


  1. Learn about the project development process. initiate planning
  2. Initiate planning and sketching out of first idea for the project.
  3. Scratch goals:
    1. Confirm everyone has an account and can log in.
    2. Demonstrate and practice using the audio tool.
    3. Demonstrate and practice using the drawing tool and/ or explore external drawing tool.
    4. Search for media outside of Scratch community and upload into project.
    5. Establish roles for team members.
    6. Start to build and edit a multimedia project.

Introduction (15-20 minutes)

Introduce the new project and show a good example ( of a project on Scratch. Have a group discussion of what made the project desirable. “Look inside” to inspect the code, costumes, and audio clips. Discuss the basic structure of the sample and identify the beginning, middle, and end as well as story elements.

Discuss the design process, roles, editing and revisions based on feedback. The process of collaboration in Scratch will be reviewed using the remix and backpack features.

Planning (15 minutes)

Introduce the planning sheet and have the group fill out a version using the project previously reviewed.

Divide into groups and provide each team with a blank planning sheet. Each team will then brainstorm and plan initial idea as well as delineate team roles. Teams may spend some time investigating Scratch projects for ideas.

Working Groups (60 minutes)


  • Practice creating and adding a sound to their project.
  • Practice creating adding a drawing to their project.
  • Complete the Favorite Things activity in the walk through projects.


  • Begin to work on project using planning sheet.
  • Record own media.
  • Upload and attribute external images or sounds.


  • Start working on their project.
  • Learn about programming using click events and timing their animations using broadcast messages

Winter ’16, Session 2: More Jokes


In the second meeting of Code Club we are working to finish up project number
one, Telling Jokes. Every student will finish their basic joke, and make
sure they save it in their own Scratch account. Most students will add
movement and other effects to their joke. We will introduce ideas of loops and
the (x,y) coordinate system. Advanced students will have the opportunity to explore
messaging, list variables, events, and the Scratch random function.


  1. Set realistic goals for what we want to accomplish with our first program.
  2. Understand the x,y coordinate system for moving sprites
  3. Understand that functions have parameters/take arguments
  4. Understand that being able to repeat statements is important
  5. Scratch goals:
    1. Learn how to change costumes and backgrounds
    2. Explore the paint tools
    3. Practice logging into Scratch
    4. Learn to share and remix projects
    5. Learn the Scratch finite loop block

Set-up (10 minutes)

Organize the students into 3 groups–with a combination of self-selection and guidance.

  • Group 1: New Scratchers
  • Group 2: animation and effects
  • Group 3: variables, buttons, events

Everyone is logged in and has their project up from last week.

Group Meetings (10 minutes)

Instructors meet with each group and ask the kids what they were working
on last week, what they accomplished, and what they want to add to their
projects. They explain how the Scratch Cards work, and walk through
some of the demo projects.

If a group is waiting for an instructor, they can work on their projects
or look through the demos on their own.

Code Studio (50 minutes)

Students work individually or with a partner on their project. Instructors
offer suggestions, do mini-demos, and facilitate peer-instruction.

Saving (10 minutes)

Students make their last edits to their projects. Every student saves their
project and shares it. Some new projects will be added to the jokes studio. If
people were working with teams, teammates will remix projects into their
own accounts.

Sharing/Wrap-up (10 minutes)

Students will be chosen at random to have the opportunity to show their
joke/project to the whole class on the projector. They will run their
project and then talk through their code. Instructors guide them to use
domain specific vocabulary where needed. Terms include: sprite, background,
block, loop, event, variable, argument.

Winter 16, Session 1 Recap

We got off to a great start in Code Club yesterday, where students jumped in and started coding right away.
We were very impressed with their engagement and the enthusiasm they brought to the projects.

Gingerbread Gobo, David & Ezio’s project

Yesterday students worked with partners on using Scratch to tell a joke. Since all of the Scratch work is online, the students can show you their work from home. They should go to and then log in (upper right) with the username and password you created. We created accounts with some students yesterday, in which case we’ll send out the log in credentials via email.

After logging in, choose my stuff from the menu under the username (again, upper right). From this screen you can see all of the projects. If their work from class is not there, it might be posted under their partner’s name. Links to student Scratch pages are available on our roster. Additionally, we are adding “jokes” to our Scratch Knock Knock Jokes Studio.

If your young programmer wants to get some extra coding in at home, they can continue working on their project or create a new joke, based on our basic template or more advanced template. To work from these (or other) templates, they should click See Inside and then choose Remix. Next week in class we will finish our jokes by adding motion, changing the look, and (for advanced students) refactoring our code with variables and custom blocks.

Lastly, we have set up a Slack team to help with communications outside of class. Slack is multi-user chat where we can share links, ask for help, and talk to each other. Specifically, if the kids are working on something at home and get stuck or can’t find what they’re looking for, Slack is a good place to ask for help. I invited everyone who has provided a contact email for the class. If others want to join the conversation, they can send an email to

Welcome to Code Club Winter ’16

Welcome parents and coders to the 2016 Winter Session of Code Club 9. This session we will introduce new and returning coders to the Scratch platform to make games and multimedia projects. The aim of our club is to introduce budding coders to programming principles and foster a love of inventing, creating, problem solving, and learning.

Sessions will be held at the PS 9 computer lab on Wednesdays from 4:00 to 5:30 on the following dates:

  • Jan 13, 20, 27
  • Feb 3,10,24
  • March 2,9,16,23

For the first session please be sure to have started a Scratch account for your child. Accounts can be created at the following link ( If you have multiple children attending the club be sure to have an account for each child. Scratch is a free web based tool created by MIT which we will be using primarily to create our projects. Once you have the username and password, please share this information with us so we may facilitate logging in. For convenience, please fill out the following form or reply to this email:

For updates and information please be sure to check out our website site: however weekly updates will also be emailed to you about the projects completed that week and possible extension activities for home.

To start out first two weeks, we will be creating a knock knock joke so get your funny bone ready. More details about this project can be found here:

For questions, comments, or concerns please do not hesitate to contact us at and

Happy Coding!

Loreto & Matt

Session 1: Telling Jokes


This is the first meeting of Code Club. We want to have fun getting familiar with programming, Scratch, and with each other. Our goals for this lesson practical, social, and cognitive.


  1. Start to learn each others names and a little about each other.
  2. Understand computer programs (code) as a set of commands that we write to get computers to run programs.
  3. Understand that computer programs have a sequence of commands or statements (or blocks).
  4. Understand that programs can do 2 things at once, in parallel.
  5. Scratch goals:
    1. Everyone gets an account
    2. Discuss social norms on Scratch
    3. Learn how to run a project
    4. Learn to write simple programs with blocks

Introduction (10 minutes)

Everyone says there name, and tells a joke they know or a book/movie/show they think is funny, and talk about why it’s funny.

Class expectations (15 minutes)

Discussion of what good rules will be and what makes a fun class. We will make a list of guidelines, and then talk about how these guidelines also operate on the Scratch website. We will have an awesome poster for week 2!

For Scratch:

  • reviewing comments
  • copying work and giving attribution
  • how to handle inappropriate comments
  • general online safety

What is a computer program? (15 minutes)

Talk about what a computer program is. Play the robot game where kids give instructions to get one of the teachers to complete a task. First use natural language, then give them a reduced set of words they can use.

First Program: Telling a joke

Here we introduce the kids to their first program. They will write a program with two characters, where one tells a joke to the other. We will show them a few examples from Scratch, and then look inside our program. We will focus on the commands to wait, say, and think.

Intermediate modification: change sprite costumes, change backdrop, add motion to characters.

Advanced modification: think of a way to separate the program from the content, e.g. to make a generic knock-knock telling machine that has a pool of jokes and tells one at random.