Scratch Programming Projects:

The Scratch program was developed by MIT to teach young students programming concepts and develop skill in multimedia communication. Using a visual system of "Tiles" that contain commands users can connect together to create programs.  These programs direct the characters and objects in the game.

Download Scratch:

Scratch for Elementary Students

Essential Scratch Blocks

Scratch and PicoBoard Projects

Project #1:  "Chasing/Eating" (Pac Man Type Game)

Requirements:
1. Game must have a main character that the user moves about the screen using the arrow keys on the keyboard.
2. There must be "food" that the character eats.  The food will disapear after the character eats it.
3. The game area must have a maze that the main character must "bounce" off when it touches the maze.

Extras:
1. The game keeps score based on the number of food eaten.
2. Ghosts or evil characters chase the main character.
3  System for keeping track of the lives of the main character.

Code samples for Chasing/Eating
Step By Step Instructions for Chasing/Eating


Project #2: Red Light/Green Light

Requirements:
1. Must have 2 different dancers that use costume changes to simulate movement and dancing.
2. Must have music that plays while characters are dancing.
3. Must have a system where the user clicks on a green or red light sprites to start or stop the music and dancing.

Extras:
1. Use photographs of yourself to create dancing sprite.
2. Add sprites that simulate colored lights changing on the dance floor.
3. Use different stages to change the setting of the dance floor.

Code samples for Red Light/Green Light


Project #3: Pong

Requirements:
1. Must have a paddle that the user controls with the mouse.
2. Must have a ball that moves on its own and bounces off the edges of the world.
3. Ball must bounce off the paddle.

Extras:
1. Design a "Breakout" like game where the ball hits bricks in a wall.  The bricks disappear and score is kept.
2. The ball bounces off the paddle in an angle of reflection that is equal to the angle of attack.
3. Use random statements to vary the ball angle when it bounces off the paddle.

Step by Step Pong Directions

Directions to Convert Pong to Soccer

Code samples for Pong


Project #4: Baby Catch (From Georgia Tech's Institute for Computing Education)


Requirements:
1. A Ball that falls down from the top of the screen to the bottom.
2. When Ball touches bottom of stage - it returns to the top to fall again.
3. A Baby or other Sprite to "Catch" the ball.

Extras:
1. Score - when Baby catches the ball the points increase.
2. Bouncing:  Ball bounces of bottom of stage and Baby.
3. Realistic gravity.

Code samples for Baby Catch


Project #5: Target Game

Requirements:
1. Must have a canon that the user can change angle of shot with the arrow keys.
2. Must have a canon ball that "shoots" from the canon equal to the angle of the canon at the time of the shot.
3. Canon ball must stamp as it travels to show the path of the shot.

Extras:
1. Self moving targets that hide when hit by the canon ball.
2. Simulate gravity effects so the canon ball takes a parabolic path.

Code samples for Target Game

Detailed Instructions for Target Game


Project #6: Spinner Art (Screensaver Program)


Requirements:
1. Have a Sprite that spins stamps itself on stage.
2. Spinning Sprite glides around to random spots around stage - leaving a stamped trail.
3. When "space" key is pressed - the stamp effects clear the stage.

Extras:
1. When "c" key is pressed - the colors of the Stamper Sprite change.
2. Give use other keys to change the Stamper Sprite's costume.

Sample of Spinner Art Program

Code samples for Spinner Art Program


Project #7: Growing Flowers (Challenge Project)


Requirements:
1. Have a Sprite that creates a stem and flower when clicked.
2. Use Pen and color change to create colored flowers.

Extras:
1. When "c" key is pressed - the screen clears.
2. Make a stage background with grass and sky.

Sample of Flower Art Program


Project #8: Racing Game


Requirements:
1. A Race Car that the user controls with the arrow keys for direction and speed
2. A simulated road with a striped line down the center showing "speed" and "motion" of car.
3. Puddles or other obstacles for the car to avoid

Extras:
1. Other Race Cars to pass during the game.
2. When the user's Race Car touches a puddle or other cars, the Race Car "spins out of control."

Mr. Michaud's Race Car Game Sample

Sample Scripts for Racing Game


Project #9: Quiz Game



Requirements:
1. Choose a quiz topic (Examples: colors, parts of a cell, vocabulary words . . .)
2. Create a list of possible answers
3. Create a Sprite to "ask the question."
4. Allow user to type in an answer
5. Compare user's answer to question
6. Provide user feedback to tell the user if they are correct or incorrect.

Extras:
1. Keep score of correct answers.
2. Give a final percentage of correct answers.
3. Use movement and sounds to make game entertaining.

Mr. Michaud's Simple Color Game

Script Samples for Quiz Game

Sample Script for Math Quiz Game


Project #10: Realistic Canon Project


Requirements:
1.  A Canon sprite that aims towards targets with user input.
2.  A "Canon Ball" sprite that the user "shoots" the canon and follows a parabolic path through the air.
3.  A target for the "Canon Ball" to hit.

Extras:
1.  Give the user the ability to vary the power of the "Canon Shot."
2.  Provide other factors such as wind speed to alter the flight of the "Canon Ball."

Hint:  You will need to use the concept of "Gravity" and the "sin" and "cosine" functions to solve this challenge.

Sample Canon Sample

Sample Canon Scripts


Project #11: Communication Project

Requirements:
1. Design a user interface where different icons represent catagories of short phrases speech impaired students need.

For Example:

  • Emotions: Happy and Sad
  • Food: Apples and Popcorn
  • Rooms: Gym and Classroom
  • Colors: Red and Blue

2.  The "home" page will have 4 buttons showing the catagories.
3.  When an icon is clicked on the home page, the home page hides and the short phrase icons appear.
4.  When a phrase icon is clicked, the program plays a recorded sound of the programmer saying the phrase.
5.  A "Home" button will return the user to the "Home Page" to select a different sound.
6.  Pictures and icons will accompany text on the user interface.

Extras:
1. Actual photographs of food and locations in school.
2. Colorful and child friendly graphics on user interface.


Project #12: Animation of a short story

Requirements:
1. Select a fairy tale and design Sprites that represent the characters.
2. Use costume changes to simulate animation and movement.
3. Select musical sound clips for each characters.
4. Use movement, hide, direction, and broadcast commands to animate a scene from the story.

Extras:
1. Do the entire story
2. Record speaking parts for each character.
3. Compose your own music using the sound functions in Scratch.

Code Samples for Animation Project

Project #13 Virtual Musical Instrument

Requirements:
1. Create a Virtual Musical Instrument that uses pitch or non-pitched sounds.
2. Users can click or press keys on the computer to activate the sounds.
3. Colorful and interesting User Interface that allows the user to select sounds.

Extras:
1. Use Variables to allow user to select instrument or timbre/
2. Use costume changes to give feedback to user.

Detailed Instructions for Scratch Xylophone

Instructions for creating a Playback Xylophone



Project #14: Virtual Board Game

Requirements:
1. Create a Board Game Engine that has at least 15 "places" to move along a track.  (Like "Candyland" or "Monopoly".)
2. Create a "spinner" or "dice" that selects a random number to move a game piece.
3. Create at least two "pieces" that will move along the game board according to the "spinner."

Extras:
1. Animate the game pieces as they move.
2. Add graphics or a theme to your Board Game Engine.

(Project Inspired by Rebecca Michaud's Creation: February 17th, 2008)


Project #15: Basic Space Target Game

Requirements:
1. Create a Ship that moves right/left and up/down with arrow keys.
2. Enable this Ship to shoot a missile straight up.  (See Basic Target Game Project #4)
3. Create a Fleet of "Enemy Ships" that fly in formation.
4. When missile hits an enemy ship - it blows up and disappears.
5. Create an "Enemy Mothership" that randomly appears in the top portion of the screen.

Extras:
1. Create a starfield background that simulates movement through space.
2. Enable the Enemy Ships to shoot at the Player's ship.
3. Create a scoring and life system.
4. Enable the Mother Ship to shoot at the Player's ship.

(Space Target Game Project Sample)

(Space Target Game with Extras Sample)


Project #16: Shape Drawing Robot  (Polygon Robot)

Requirements:
1. Create a Sprite.
2. Write scripts that direct your sprite to draw a square, circle, triangle.
3. Create buttons that the user selects to direct the sprite to draw the shapes.
4. Combine the scripts to have the sprite draw a basic house.

Extras:
1. Use variables to allow the user to change the size of the shapes.
2. Create user interface to allow user to change the number of sides of the shapes to create polygons.
3. Write scripts to allow the robot to draw more complex shapes such as stars and flowers.

Detailed instructions for Polygon Robot Program

Rubric for Grading the Advanced Polygon Robot Program

Example of Advanced Polygon Robot Program



Project #17: Valentines Day Animation


Requirements:
1.  Have fun adding animations to make a Valentines Day Card!

Code Samples for Valentines Day Animation

Valentines Day Animation Sample


Project #18: Amplitude Simulation


Requirements:
1.  Create a "Tracer" Sprite that tracks across the screen left to right, stamping and drawing a line.
2.  Use the "loudness" sensor to use microphone input to show change in Amplitude as sound gets louder. 
(The wave will grow taller as sound gets louder.)

Code Samples and directions for Amplitude Simulator

Amplitude Simulator Sample (May not work within web Browser)


Project #19: Line Following Robot Simulator

Line Following Robot Simulator



Project #20: Reaction Timer Game


Requirements:
1.  Create a "Main Sprite"  (The Cat) to play a sound and measure in seconds how fast the user can click the space bar.
2.  Display the user's time in seconds.
3.  Ask the user if they wish to play again.

Extras:
1.  Show a ruler and a hand grabbing the ruler as it falls.

Code Samples for Reaction Timer (Scrambled Code)



Project #21: Scratch Quilt Project


Requirements
1.  Create a "Main Sprite"  (The Cat) to create a quilt pattern when the Space Key is pressed.


Code Samples for Scratch Quilt Project


Project #22: Sound Racing Game Project


Requirements
1.  Create a Car sprite that turns right and left with user input from the arrow keys.
2.  The user can control the Car's speed with input from the microphone.  (The louder the sound, the faster the car.)

Extras:
1.  Create additional cars that the computer controls.
2.  Make the car "Bounce" off the sides of the track.

Directions for Sound Racing Game Project


Project #23: Sound Windmill Project


Requirements
1.  Create a pinwheel that spins faster with the loudness of the microphone imput.
2.  Create clouds that move through the sky.  The faster the "wind" the faster the clouds move.

Extras:
1.  Add a key to have the Windmills stamp as they spin
2.  Add a function to change color of the windmills or clouds
3.  Add a meter the measures how much electricity is "generated" by the windmills.

Scripts for Windmill Project


Project #24: Simple Math Game Project


Requirements
1.  Create variables and Scripts that ask the User a simple math problem.
2.  Create a Sprite that asks the User the math problem.
3.  Provide a way for the User to Select the Correct Answer.
4.  Provide Feedback to the User if they are correct or incorrect.

Extras:
1.  Add a variable for Score
2.  Add addition, multiplication, subtraction, and division problems

Scripts for Math Game Project


Project #25: Balloon Pop Game


Requirements
1.  Create Balloons that drop from the top of the screen in random order.
2.  Balloons "Pop" when touching the arrow.
3.  When User presses the Space Key, the arrow is shot from the Wizard.
4.  Wizard moves with Space Bar.

Extras:
1.  Add a variable for Score
2.  Vary the speed of the Balloons.

Scripts for Balloon Pop Game Project
Detailed Instructions for Balloon Pop Game Project


Project #26: Arithmetic Series Challenge (Very Advanced)


Requirements
1.  Write a program to show a series of 1 + 2 + 3 + 4 +  . . .
2.  Use a slider to let the user select the value of n
3.  Show the sum
4.  User presses Spacebar to run the program

No Scripts given for this challenge.  (Hint - the project only uses 1 sprite with the stamp function)


Project #27: Dance Animation Project


Project Requirements:
1.  Identify form of "March from Nutcracker" using letters.
2.  Create a dance animation with Scratch or Alice that has at least 2 objects and movement methods for the A and B sections.
3.  Import music sound file into scratch and use broadcast commands to coordinate movement scripts with music.
4.  Save your work under "Lastname Dance Teachername."

Project Extras:
1.  Use at least 4 sprites and movement methods for A,B,C, and D sections.
2.  Create changing backgrounds or stages.

Sample Scripts for Dance Animation Project


Project #28: Space Ship Project



Project Requirements:
1.  Create a SpaceShip that Simulates real movement in Space.
2.  Up Arrow provides Forward Thrust.
3.  Right and Left Arrows turn the Ship
4.  Ship can "Pass Through" edges of Screen.

Project Extras:
1.  Have the Ship shoot like "Asteriods".
2.  Add other ships. (Or Games like "Landing" or "Find the Space Station")

Detailed Directions for SpaceShip Project


Project #29: Electricity Circuit Simulator



Requirements:
1. Has at least 4 electron sprites.
2. The electrons move along a circuit path.
3. At least 2 light bulbs that light up when they touch electrons.
4. A button to turn off and on a switch.  When the switch is on, the electrons move.  When the switch is off, the electrons stop.

Extras:
1. When one or both of the light bulbs are clicked, the electrons stop.
2. When battery is removed, the electrons stop.
3. When more batteries are added, the lights are brighter and more electrons appear.

Sample Scripts for Circuit Project


Project #30: Top Simulator Script with We Do Top Project



Requirements:
1. Has a Top Object that Spins and moves about screen according to Spin Velocity
2. Spin Velocity increases when Space Bar is held down.
3. Spin Velocity decreases when Space Bar is not pressed.

Extras:
1. Make a way to stamp the Top Object simular to the Spinner Art Project when a key is pressed.
2. Use Motor Controls and Distance Sensor with We Do Robotics to spin a real top.

Sample Scripts for Top Simulator Project


Project #31: Angry Kitty Project


Requirements:
1. Make a Sprite to act as the "Angry Kitty" that is drawn back by the mouse arrow and shot from a slingshot.
2. Use a pen to trace the path of the Kitty as it flies through the air.
3. Make a Target for the Kitty to hit.

Hint:  You will need to use the concept of "Gravity" and the "sin" and "cosine" functions to solve this challenge.

Angry Kitty Scripts


Project #32: Scratch Drummer




Code Samples and directions for Scratch Drummer


Project #33: Simple Story Scratch Project


Project Requirements:
1.  Tell simple story of the "Paper Airplne"
2.  Use multiple costumes in the "thrower" to convey emotion.
3.  Coordinate action with Broadcast commands.

Sample Scripts for Simple Story Project


Project #34: Emotion Face


Project Requirements:
1.  Use Sprites to create a face that can show a range of emotion.
2.  Use different sprites for: eyes, nose, eyebrows, and mouth.
3.  Change movement and shape to convey emotion.

Sample Scripts for Emotion Face Project


Project #35: Scratch Drawing/Mouse movement recorder




Project Requirements:
1.  Create a Dot Sprite to draw your recording.
2.  Use two list objects to store your X and Y values.
3.  Have Scratch "Playback" your mouse movements.

Sample Scripts for Scratch Drawing/Mouse movement recorder


Project #36: Scratch Tropical Fish Simulation




Project Requirements:
1.  Create or Select an aquarium background.
2.  Populate your aquarium with fish that swim side to side and up and down.
3.  Have "Bubbles" that travel to the top of the water.

Extras

1. Make a variable for Water Level use this variable to show the water level decreasing over time as water evaporates.
2. Make a Button to "Fill the Tank" when it gets too empty.
3. Make sure the fish do not "swim" above the waterline.
4. Use other variables such as water temperature to modify the conditions in the aquarium.
5. Make a diver controlled by the arrow keys or the "We-Do" tilt sensor.

Sample Scripts for Scratch Tropical Fish Simulation.


Project #37: Scratch Ellipse Art Project




Project Requirements:
1.  Create 1 Sprite that can draw an Ellipse.
2.  Have Variables to control the width and height of the Ellipse.
3.  Use Pen to draw different colors.

Extras

1. Use Variables to change the Width and Height to make designs.
2. Have more than one Sprite.
3. Change the size of Sprites based on Y position to give 3D effect.
4. Make a Merry Go Round effect.

Directions for Scratch Ellipse Project.


Email Mr.Michaud

Copyright ©2012 Mr. Michaud.