Level 4

Catch Game

Level 4 · Chapter 12

What this lesson follows

CSTA K–12 Computer Science Standards (2017)

Algorithms & Programming · Grades 6–8

Break a problem into parts you can build and check.

Code 2-AP-13Read the official text

Also practised: 2-AP-14

Common Core State Standards for Mathematics

Number & Operations in Base Ten · Grade 5

Work with big numbers and decimals.

Code 5.NBT.B.6Read the official text

The short lines are our own words. We matched this lesson to these standards ourselves; the standards' owners have not reviewed or endorsed this course.

Common Core State Standards © 2010 National Governors Association Center for Best Practices and Council of Chief State School Officers. All rights reserved.

Today you will build a complete catch game using chance position, clones, score, broadcast, and custom blocks.

1👋 Warm-Up

For teachers · goals · guide
Lesson Outcomes · for teachersCSTA 2
✦ CSTA 2-AP-13 · CSTA 2-AP-14 · ISTE 1.5.c · ISTE 1.4.d · Standards
🎯 I canbuild a complete catch game using chance position, clones, score, broadcast, and custom blocks
📝 New words5 words
⏱ Lesson time~50 min
Teacher Guide

📋 Before class

⚠️ Common misconceptions

  • Students may put clone behavior code under 'when flag clicked' instead of 'when I start as a clone.' The original sprite and its clones need separate scripts.
  • Students may forget to delete clones that reach the bottom. Undeleted clones pile up and slow Scratch to a halt.
  • Students confuse the Scratch built-in timer with a custom timer variable. The built-in timer starts at 0 when reset and counts up automatically.

🎯 Differentiation

🐢 Struggling: Build one system at a time: first just the falling clones with no catching, then add catching, then add the timer. Do not combine all systems until each works alone.

🚀 Advanced: Add difficulty scaling: every 10 seconds, reduce the clone creation interval by 0.1 seconds so apples fall faster as the game goes on.

💡 During the lesson

  • Warm-UpWrite the four systems on the board before students start: 1) Apple Spawner, 2) Clone Behavior, 3) Pico Movement, 4) Timer and Game Over. Tell students they will build and test each system in order. Emphasize: test each system alone before connecting it to the next one. This is professional workflow.
  • Try ItWalk through each system one at a time. Ask: "Which system runs first? Which runs last?" The answer is that all four run at the same time — that is the power of Scratch's event model. This is also why broadcast is needed: the timer script cannot directly tell the Apple sprite to stop. It sends a message instead.
    The no-wait case is the most important: without wait, hundreds of clones pile up in one spot until Scratch hits its 300-clone limit. This makes the "delete every clone" rule concrete. Let students experience this before explaining the reason.
  • PlanGive students 5 minutes to read and annotate the flowchart before building. Ask: "Which sprite runs the clone behavior?" (Apple.) "Which sprite follows the mouse?" (Pico.) "Which sprite sends game-over?" (Pico or Stage.) Help students decide which sprite hosts each script — this is design thinking.
  • BuildBuild in phases and test after each phase — this is the decomposition skill in action. Naming two sub-routines, spawn-apple and end-game, is abstraction (ch5→ch6): each hides its steps behind one name, and spawn-apple (gap) takes an input so one definition can set how often apples appear. Common issue at step 7: students put delete this clone inside the if block but not after the repeat loop. The apple then freezes at y = -180 instead of disappearing. Remind students: delete must happen in two places — on catch AND after the loop ends.