Skip to content

Scratch challenges

Scratch coding challenges, beginner to advanced

Twelve Scratch challenges that each end with something that works. Clear steps, the blocks you need, and a stretch idea for every one.

A Scratch game being built in the Scratch editor

How to use these challenges

Each challenge takes 20 to 45 minutes. Read the goal, try it yourself first, then use the steps if you get stuck. When it works, try the stretch idea. All you need is a free Scratch account at scratch.mit.edu, or the offline Scratch app.

Tip for parents: ask your child to explain how their project works. Explaining is where the learning sticks.

Beginner challenges

1. Talking cat

Make the cat say hello when you click it, then ask your name and greet you.

when this sprite clicked
say [Hello!] for (2) seconds
ask [What's your name?] and wait
say (join [Nice to meet you, ] (answer)) for (2) seconds

Teaches: events, input and output. Stretch: change costume each time it speaks.

2. Arrow key explorer

Move a sprite around the stage with the arrow keys.

when [right arrow] key pressed
change x by (10)
when [left arrow] key pressed
change x by (-10)

Teaches: events and coordinates. Stretch: add up and down, and a backdrop to explore.

3. Countdown to launch

Count down from 10 to 0, then say “Blast off!” and fly up the screen.

when green flag clicked
set [count] to (10)
repeat (10)
  say (count) for (1) seconds
  change [count] by (-1)
end
say [Blast off!]
repeat (30)
  change y by (10)
end

Teaches: variables and loops. Stretch: add a sound effect at zero.

4. Dance party

Make a sprite dance to music by switching costumes in a loop.

Teaches: forever loops and timing with wait blocks. Stretch: change the backdrop colour on every beat.

Intermediate challenges

5. Clicker race

Click a sprite as many times as you can in ten seconds.

when green flag clicked
set [score] to (0)
reset timer
wait until <(timer) > (10)>
say (join [Time up! Score: ] (score))

when this sprite clicked
change [score] by (1)

Teaches: variables, timers and events. Stretch: the sprite jumps to a random place after each click.

6. Maze runner

Draw a maze backdrop. If the sprite touches the wall colour, send it back to the start. Reaching the goal colour wins.

when green flag clicked
go to x: (-200) y: (-150)
forever
  if <touching color [black]?> then
    go to x: (-200) y: (-150)
  end
  if <touching color [green]?> then
    say [You win!]
    stop [all]
  end
end

Teaches: selection and sensing. Stretch: add a second level with broadcast.

7. Catch the star

A star falls from a random place. Move a basket to catch it and score.

Teaches: random numbers, collision and scoring. Stretch: the star speeds up as your score rises. Full steps are in game design projects.

8. Times tables quiz

Ask five random times tables questions, check each answer and keep score.

set [a] to (pick random (2) to (12))
set [b] to (pick random (2) to (12))
ask (join (a) (join [ x ] (b))) and wait
if <(answer) = ((a) * (b))> then
  change [score] by (1)
  say [Correct!] for (1) seconds
else
  say [Not quite] for (1) seconds
end

Teaches: selection, operators and variables. Stretch: wrap it in a repeat (5) loop and show a final score.

Advanced challenges

9. Space shooter with clones

Press space to fire. Use “create clone of myself” to make many bullets and enemies from one sprite.

Teaches: clones, events and collision.

10. Platform jumper

Add gravity with a y-speed variable that decreases each frame, and let the player jump only when touching the ground.

Teaches: variables, physics and selection.

11. Drawing machine

Use the Pen extension to draw squares, stars and spirals. Make a custom block “draw shape (sides)”.

Teaches: loops, angles and custom blocks (functions).

12. Chatbot

Store replies in a list and choose one at random, or reply to keywords using “contains”.

Teaches: lists, strings and selection.

What these teach

Scratch ideaComputer Science concept
When flag clicked, when key pressedEvents
Repeat, foreverIteration
If then, if then elseSelection
Set and change variableVariables
Make a blockFunctions (subroutines)
ListsArrays

When these feel easy, it is time to move to Python. See the beginner coding pathway.

Questions

Common questions

What age are these challenges for?

Beginner challenges suit most children from about seven. Advanced challenges suit confident coders and KS3 learners.

Is Scratch free?

Yes. Scratch is free from the MIT Scratch team and runs in a web browser, or as a free offline app.

Can Dee teach Scratch one to one?

Yes, online, for KS1 to KS3 and home educated learners. Arcade Home also has self-paced Scratch units.

Want help with this one to one?

Dee replies personally to every enquiry, usually within two working days.

Send an enquiry