Lesson plan

Mercury and Venus

Students code the Agent using while loops, conditionals, and operators to navigate Mercury and Venus, collect planetary samples, and analyze code logic.

Mercury and Venus
Ages
Ages 8-10
Duration
1 hour
Essential question

How can autonomous agents use while loops and conditionals to navigate and collect scientific data in extreme planetary environments?

Overview

Students transition from basic flight preparation to planetary exploration as they program an autonomous Agent to withstand the harsh environments of Mercury and Venus. By shifting from visual prompts to logical problem-solving, learners practice directing their robotic companion through challenging terrains to collect scientific samples safely.

Learning objectives

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

  • Program the Agent to solve navigation puzzles using while loops, conditionals, and operators.
  • Follow text-based coding instructions without relying on visual supports.
  • Test and debug robotic movement routines to gather planetary samples.
  • Analyze programming snippets to predict and verify Agent behavior.

Blocks and items used in this lesson

Key vocabulary

While loop
A programming command that repeats a block of instructions continuously as long as a specified condition remains true.
Conditional
A rule or statement in code that carries out specific actions only when a designated condition is met.
Operator
A coding symbol or rule used to compare values or evaluate logical conditions.
Debugging
The process of reviewing, testing, and fixing mistakes within computer code.

Before class

Lesson sequence

Suggested timing: about 60 minutes in total.

  1. Mission Launch and Concept Review10 min

    Introduce the mission to explore Mercury and Venus. Review how while loops, conditionals, and operators allow the Agent to explore dangerous planetary surfaces in place of the astronaut.

  2. Mercury Exploration15 min

    Students guide their Agent through the first two missions:

    • Activity 1: Mercury, Finding a Crater
    • Activity 2: Mercury, Locating a Sample

    Learners test their routines and debug errors when the Agent meets unexpected obstacles.

  3. Venus Mission20 min

    Students proceed to Venus to solve advanced navigation puzzles without visual assistance:

    • Activity 3: Venus, Finding the Surface
    • Activity 4: Venus, Helping the Agent
  4. Extension and Bonus Challenge10 min

    Students who finish early tackle the Bonus Activity: Virtual Gathering inside the world, or begin organizing notes using the external Planet Research Template.

  5. Formative Code Analysis5 min

    Conclude the lesson by reviewing the educator guide conclusion questions. Students analyze code snippets individually or in pairs to demonstrate logical comprehension.

Assessment: success criteria

  • Student successfully navigates the Agent through Mercury's crater and retrieves the target sample.
  • Student applies while loops and conditional logic to complete the Venus exploration tasks.
  • Student troubleshoots and debugs code without needing visual assistance prompts.
  • Student accurately explains and evaluates the logic in the concluding code snippet analysis.

Differentiation

Support

Walk through the first Mercury puzzle as a class, modeling how to translate written instructions into loop and conditional blocks.

Stretch

Have advanced students solve the Bonus Virtual Gathering challenge and begin independent research using the Planet Research Template.

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. 1Which celestial body is the first stop on the mission after space training?

  2. 2Why does the Agent explore the surfaces of Mercury and Venus instead of the player character?

  3. 3What coding structures are primarily reinforced throughout this lesson?

  4. 4What is the primary goal of Activity 2 on Mercury?

  5. 5How is the optional Planet Research activity conducted?

Resources

Part of the Coding Fundamentals curriculum

This is lesson 7 of 17 in Coding Fundamentals.

  1. Basic Moves and the Agent
  2. Coding Challenge
  3. Dinosaur Run
  4. Earth’s Moon & Mars
  5. Ganymede (Jupiter's Moon) & Saturn's Rings
  6. Gray Wolves
  7. Mercury and Venus
  8. Minecraft Space Center
  9. Panda's Protected Habitat
  10. Polar Bear Rescue
  11. Revisiting Biomes
  12. Revisiting Planets
  13. Sea Turtle Assistance
  14. The Experiment
  15. Uranus’ Rings and Neptune's Moon, Triton
  16. We Need Beets!
  17. Wild West

Frequently Asked Questions

Does the optional research project take place inside the Minecraft world?

No. The Planet Research component is designed as an off-screen activity that requires internet connectivity and uses the provided research template.

How are students assessed at the end of the lesson?

Teachers can use the formative assessment questions located at the conclusion of the educator guide, which ask students to analyze specific coding snippets.

What prior experience do students need before starting this lesson?

This is a beginner-level lesson designed for ages 8 to 10 that builds upon Block 2 Lesson 1 space training concepts.

Adapted from Mercury and Venus by Minecraft Education on Minecraft Education, last updated Feb 4, 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