Lesson plan

Hour of Code: TimeCraft

Travel across history in Minecraft to fix timeline errors, program a Time Agent using Block or Python code, and uncover clues to find the culprit.

Hour of Code: TimeCraft
Ages
Ages 6-18
Duration
1 hour
Essential question

How can computer science concepts be used to solve problems and preserve key moments in human achievement?

Overview

Students join the Institute of Major Time Errors as computer scientists tasked with fixing mysterious disruptions across world history known as Time Splits. Guided by the artificial intelligence TARRA aboard the Ephemera One spaceport, learners explore pivotal achievements in human history while using algorithmic thinking, loops, sequences, events, and debugging to restore the timeline.

Using Minecraft: Education Edition, learners choose between Block-based or Python coding to command a robotic Time Agent. After mastering basic movement in an onboarding test facility, students travel to various historical eras, resolve errors by programming solutions, and uncover hidden clues to determine who or what caused the timeline disruptions.

Learning objectives

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

  • Program a Time Agent using Block-based or Python code to resolve historical timeline disruptions.
  • Apply fundamental computer science concepts including sequences, events, loops, and debugging.
  • Analyze and decompose coding problems using algorithmic thinking.
  • Locate clues within completed challenges to identify the culprit behind the temporal errors.

Blocks and items used in this lesson

Key vocabulary

TARRA
The artificial intelligence that guides learners through missions aboard the Ephemera One spaceport.
Time Agent
The robotic companion that students program to interact with the environment and fix historical errors.
Time Split
A historical disruption or mistake in the timeline caused by the mysterious culprit.
Debugging
The process of identifying and correcting errors within a computer program.
TALK device
The in-game tool used by players to begin coding activities with their Time Agent.

Before class

Lesson sequence

Suggested timing: about 60 minutes in total.

  1. Mission Briefing and Setup10 min

    Introduce the Institute of Major Time Errors storyline. Direct students to log into the world, meet the AI TARRA inside the Ephemera One Control Center, select their preferred coding language (Block or Python), and choose their Time Agent robot.

  2. Onboarding Coding Challenge10 min

    Students follow the path to the Test Center and use their TALK device to open the coding interface. They complete the onboarding challenge by writing code to move the Time Agent forward until it rests on the red block.

  3. Timeline Coding Missions35 min

    Students interact with the Timeline Computer to start their historical missions. They complete three challenges per game loop, beginning with the guided Big Band Jazz scenario to retrieve a lost trumpet, followed by two additional historical events.

    After resolving each Time Split, students search for a secret button in the area to reveal investigative clues about the culprit.

  4. Reflection and Group Discussion5 min

    Gather students to reflect on their problem-solving strategies, discuss how computer science applies to school and hobbies, and share what they discovered about the mystery culprit.

Video

Assessment: success criteria

  • Student successfully codes the Time Agent to move onto the red block during onboarding.
  • Student resolves at least three historical Time Split coding challenges using proper sequences, loops, or events.
  • Student locates secret buttons to collect investigative clues.
  • Student reflects on how debugging and algorithmic thinking were used to overcome coding errors.

Differentiation

Support

Encourage beginners to use Block-based coding and walk them through the guided Big Band Jazz challenge step by step.

Stretch

Have experienced learners code using Python, replay the mission to solve additional Time Splits, or complete extension activities.

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. 1What is the name of the AI that guides students aboard the Ephemera One?

  2. 2What must students code their Time Agent to do during the onboarding challenge?

  3. 3What historical mishap occurs in the Big Band Jazz mission?

  4. 4Which two coding language options are provided to students in TimeCraft?

  5. 5How do students find clues to identify the culprit after finishing a coding challenge?

Resources

Part of the Hour of Code curriculum

This is lesson 8 of 8 in Hour of Code.

  1. Hour of AI: Field Agent
  2. Hour of AI: The First Night
  3. Hour of Code: AI for Good
  4. Hour of Code: Escape Estate
  5. Hour of Code: Generation AI
  6. Hour of Code: Inclusion
  7. Hour of Code: The Show Must Go On
  8. Hour of Code: TimeCraft

Frequently Asked Questions

Can students with no programming background participate in this lesson?

Yes. The lesson accommodates beginners by offering Block-based coding, an onboarding movement tutorial, and a teacher-facilitated guided challenge.

How many historical challenges does a student complete during a single session?

Students complete three Time Split challenges per game loop, but they can replay the game to experience more of the ten available scenarios.

What device or tool is used in the world to launch the coding window?

Students activate the TALK device in their inventory to start coding activities with their Time Agent.

Adapted from Hour of Code: TimeCraft by Minecraft Education on Minecraft Education, last updated Jun 19, 2024. 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