← Free Lesson Plans for Teachers Free Lesson Plan Grades 3–6Engineering & Coding4 sessions x 45 minHummingbird Bitmicro:bit1B-AP-091B-AP-101B-AP-152-AP-13 ⬇ Download PDF (lesson, student sheets & answer key) Driving question: How do game designers use events, loops, decisions, and variables to make a game fun and fair? Students build four short games in a free block-coding editor: a catch game, a maze, a quiz, and a reaction-time game on a micro:bit. Each project adds one big idea: events (when a key is pressed), loops (forever), decisions (if touching a wall), and variables (score, lives, and timers). Every session follows the same studio cycle: plan on paper, build, play-test with a partner, and fix one bug. Students keep a design journal so they can explain how each part of the program works and what they changed after testing. Grades 3–5: 1B codes. Grade 6: add 2-AP-13 by breaking each game into separate scripts or functions (movement, scoring, ending); see the Grade 6 steps in Sessions 1–3, the planning line on Student Sheet 1, and the Decomposition rubric row. CSTA codes are from the CSTA K-12 CS Standards (2017); the short labels are our own summaries, not CSTA wording. This lesson has not been reviewed or endorsed by CSTA. Students will: Geyer resources for this lesson Exit ticket: Ask: "Point to one variable in your game. When does it change, and why?" Use these sheets in class, or download the PDF for a print-ready layout. Student Sheet 1 Print-ready version in the PDF. Name: ______________________________ Date: ______________ Game name and goal: Grade 6: List the parts of this game (movement, scoring, ending) and which script does each: Student Sheet 2 Print-ready version in the PDF. Name: ______________________________ Date: ______________ Partner feedback: one thing that was fun and one thing to improve: Student Sheet 3 Print-ready version in the PDF. Name: ______________________________ Date: ______________ Which project was hardest? Why? Explain how one variable works in your favorite game: Grade 6: How did you break one program into smaller parts? Need a print-ready copy? The PDF includes the lesson, student sheets, and answer key. Free for classroom use. You may print and copy this lesson for your students. © Geyer Instructional Products. Standards text: CSTA K-12 CS Standards © CSTA. Scratch is a project of the Scratch Foundation, available free at https://scratch.mit.edu. Microsoft MakeCode is a Microsoft product; micro:bit is a trademark of the Micro:bit Educational Foundation. This lesson is not affiliated with or endorsed by the Scratch Foundation, Microsoft, or the Micro:bit Educational Foundation.Overview
Standards
Code Standard CSTA 1B-AP-09 (2017) storing and changing data with variables CSTA 1B-AP-10 (2017) programs with events, loops, and decisions CSTA 1B-AP-15 (2017) testing and fixing a program CSTA 2-AP-13 (2017) breaking a program into parts Learning Objectives
Materials
Project 4: 1 per pair for the button reaction game. Each board needs a micro-USB cable or a 2×AAA battery pack (not included with the single board).
Extension: add lights, servos, and sensors to turn a game into a physical arcade machine.Also needed
Vocabulary
Word What it means event Something that starts code running, such as a key press or a click. loop Code that repeats. conditional An if-then decision in code. variable A named place that stores a value that can change, such as a score. bug A mistake that makes a program act in a way you did not expect. play-test Letting someone else try your game to find problems. Safety Notes
Before You Teach
Warm-Up (5 min)
Procedure
Session 1: Catch game (events and a score variable) (40 min)
Session 2: Maze game (decisions) (45 min)
Session 3: Quiz game (variables and if-else) (45 min)
Session 4: micro:bit reaction game (45 min)
Differentiation
Support On-level Challenge • Provide starter projects with the movement code already built.
• Use the block cards on Student Sheet 1 as a checklist.• Complete the procedure and student sheets as written. • Add a timer variable that counts down from 30 and ends the game at 0.
• Grade 6: make a custom block (function) for “reset player” and use it in two places.Assessment
Criterion Beginning Developing Proficient Events and loops Missing Used with help Used correctly in each project Variables and decisions Missing Used, some errors Score, lives, or timer works with if-then logic Testing and debugging No testing Tested, no fix recorded Bug found, described, fixed, and retested Decomposition (Grade 6) One long script Some parts separated Each part in its own script or custom block Extensions
Student Sheets
Game Plan
Sprite or part What it does Event that starts it Variable name Starts at Changes when… Play-Test and Bug Log
Project What went wrong (the bug) What we changed Fixed? (yes/no) Studio Reflection
Show answer key (for teachers)
Answer Key & Teacher Notes
Sample Scripts (in plain words)
Common Bugs
Sketch the game screen.
