Lesson plan

Hour of Code: The Show Must Go On

Students direct a theater production by coding music, dance, stage sets, and costumes to help the Agent overcome stage fright and save the show.

Hour of Code: The Show Must Go On
Ages
Ages 6-18
Duration
1 hour
Essential question

How can computer programming concepts like sequences, loops, and debugging be used as creative tools to direct a theater performance?

Overview

In this theater-themed Hour of Code experience, students step backstage as directors and coders working to save an upcoming performance. When their star performer, the Agent, comes down with stage fright and goes missing, students must navigate backstage areas to solve coding challenges, discovering how computing concepts like sequences, loops, and debugging mirror the creative problem-solving needed in stage production and tech careers.

Inside the Minecraft Education world, learners visit four backstage departments: Sound Stage, Dance Studio, Prop Department, and Wardrobe. Working in MakeCode Block or Python, students complete structured logic puzzles before tackling open-ended creative tasks where they compose music, choreograph dances, manipulate stage environments, and design costumes for a customizable grand finale.

Learning objectives

By the end of this lesson students will be able to:

  • Apply foundational programming principles including sequences, loops, and debugging using MakeCode blocks or Python.
  • Solve department coding puzzles to unlock doors and advance through backstage areas.
  • Design customized musical sequences, dance routines, stage environments, and costumes for a final performance.
  • Locate optional hidden gags across the theater environment to add backup dancers to the stage show.
  • Iterate on coded performance elements by revisiting departments to refine the grand finale.

Key vocabulary

Sequence
An ordered set of programming commands executed one after another.
Loop
A programming structure that repeats a set of coded instructions multiple times.
Debugging
The process of identifying, analyzing, and fixing unexpected errors in code.
Agent
The in-game performer character that students locate, help, and program throughout the theater.

Before class

Lesson sequence

Suggested timing: about 60 minutes in total.

  1. Introduction and Theater Orientation10 min

    Introduce the lesson scenario: the Agent has stage fright, and students must step in as coders and directors to save the performance. Discuss how coding acts like theatrical storytelling, where commands shape a scene just like a script shapes a play.

  2. Backstage Department Challenges30 min

    Students navigate the theater to complete two-part activities across four departments:

    • Sound Stage: Arrange musical notes and instruments to solve the door puzzle, then compose an original song.
    • Dance Studio: Code dance steps for armor stands based on clues, then choreograph custom routines.
    • Prop Department: Code biome, time, and weather conditions in order to unlock doors, then design a custom stage backdrop.
    • Wardrobe: Assemble costume components via code to unlock the area, then design custom outfits for the Agent.
  3. Backstage Exploration and Hidden Gags10 min

    Students search backstage corridors for up to 12 hidden comedic gags. Each discovered gag triggers a skit and adds extra backup dancers to the performance tracker board.

  4. Grand Finale and Re-coding10 min

    Students launch the grand finale to watch their custom music, choreography, sets, and costumes come together on stage. Afterward, invite students to revisit departments to re-code and fine-tune elements, reflect on how code enhanced the show, and download their completion certificates.

Assessment: success criteria

  • Student successfully solves the door-unlocking logic puzzles across all four theater departments using blocks or Python.
  • Student personalizes creative elements such as original music, dance sequences, stage backdrops, or costumes.
  • Student tests and debugs their code to run the complete grand finale performance.
  • Student explains how coding choices in music, lighting, or movement influenced the audience experience.

Differentiation

Support

Allow students to work with MakeCode visual blocks and consult the Solutions Guide when troubleshooting puzzle sequences.

Stretch

Encourage students to complete tasks in Python, find all 12 hidden gags, and re-code multiple departments to build complex choreographies and sets.

Knowledge check

5 questions to check understanding after the lesson. Tap an answer to see if it is right; the score appears at the end.

  1. 1Why do students need to step in and code backstage in this lesson?

  2. 2Which activity takes place inside the Dance Studio?

  3. 3What happens when students discover one of the 12 hidden gags?

  4. 4Which department asks students to code biomes, time, and weather elements?

  5. 5What can students do after watching their first grand finale performance?

Resources

Part of the Computing with Minecraft curriculum

This is lesson 9 of 9 in Computing with Minecraft.

  1. Unit 1: The Agency
  2. Unit 2: City Planner
  3. Unit 3: Parks & Recreation
  4. Unit 4: A Zoo
  5. Unit 5: Wind Power
  6. GameCode
  7. Hour of Code: Escape Estate
  8. Hour of Code: Generation AI
  9. Hour of Code: The Show Must Go On

Frequently Asked Questions

Can students participate if they have never coded before?

Yes. The lesson is designed for beginners of all ages and supports MakeCode visual blocks alongside Python, allowing novice coders to start with drag-and-drop commands.

Is a paid Microsoft 365 Education account required to run this lesson?

No. Teachers and students without an account can access the lesson using the free demo version of Minecraft Education on Windows, Mac, or iPad.

Do students need to find all 12 hidden gags to finish the lesson?

No. The hidden gags are optional exploration bonuses that add backup dancers to the performance, but completing the four department tasks is all that is required for the finale.

Adapted from Hour of Code: The Show Must Go On by Minecraft Education on Minecraft Education, last updated Apr 30, 2025. This classroom version, the timings and the quiz were written by 9Minecraft Education.

You May Also Like

9Minecraft Education is an independent teaching resource and is not affiliated with Mojang or Microsoft. Lesson plans here are our own classroom-ready adaptations; each one links to the original resource and credits its author. © 2026 9minecraft.net