Lesson plan

Polar Bear Rescue

Students use loops and conditionals in Minecraft to rescue a separated polar bear cub while exploring the effects of melting Arctic ice.

Polar Bear Rescue
Ages
Ages 8-10
Duration
45 min
Essential question

How can we use conditional loops to navigate obstacles and help Arctic animals affected by melting ice?

Overview

In this lesson from the Animal Research Center (ARC) series, students head to the Arctic to locate and help a baby polar bear separated from its family. Rising temperatures caused by climate change are melting sea ice, leaving polar bears with shrinking habitats and limited food supplies.

Students address this rescue challenge by programming their Agent to navigate treacherous Arctic terrain. By applying sequence structures, conditional loops, and the Agent Detect block, learners practice debugging strategies and computational thinking within Minecraft.

Learning objectives

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

  • Apply loops and conditional statements to navigate terrain challenges.
  • Test and debug code to resolve navigation errors.
  • Demonstrate a resilient coding mindset when solving problems.
  • Describe how melting Arctic ice impacts polar bear survival.

Blocks and items used in this lesson

Key vocabulary

Loop
A coding structure that repeats a set of instructions multiple times.
Conditional
A rule in code that performs actions only when specific criteria are true.
Agent Detect
A command block that checks whether an obstacle or path exists in a specified direction.
Debugging
Finding and correcting mistakes in a computer program.

Before class

Lesson sequence

Suggested timing: about 45 minutes in total.

  1. Introduction and Briefing10 min

    Introduce the Animal Research Center mission: investigating a separated polar bear cub in the Arctic. Discuss how rising temperatures melt glacial ice and threaten polar bear habitats. Review loops and conditionals using the prepared presentation slides.

  2. Rescue Activities20 min

    Direct students to enter the world and begin the guided tasks:

    • Activity 1: Locate the Cub
    • Activity 2: The Great Chasm
    • Activity 3: Higher Ground

    Students use the Agent Detect block and conditional loops to move safely across broken ice.

  3. Debugging and Extension10 min

    Have students test and refine their code when their Agent encounters barriers. Students who complete the core activities can move on to the Bonus Activity: Separated Family.

  4. Review and Formative Assessment5 min

    Bring the class together to review the concepts of loops, conditionals, and Agent inventory through quick check-in questions.

Assessment: success criteria

  • Student accurately constructs conditional loops to direct the Agent across obstacles.
  • Student tests their program and debugs errors when the Agent is blocked.
  • Student correctly explains the role of the Agent Detect block during check-in questions.

Differentiation

Support

Pair students together to step through the Agent Detect logic before running their loops.

Stretch

Challenge early finishers to complete the Bonus Activity: Separated Family using minimal lines of code.

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 coding concept repeats instructions over and over?

  2. 2True or False: The Agent has its own inventory in Minecraft.

  3. 3What primary Arctic issue creates problems for polar bears in this lesson?

  4. 4What does the Agent Detect block do?

  5. 5Which of the following is the bonus activity included in the lesson?

Resources

Part of the Coding Fundamentals curriculum

This is lesson 10 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 Animal Research component happen inside Minecraft?

No. If you choose to include the Animal Research extension, it takes place outside of Minecraft and requires internet access for student research.

What age group is this coding lesson designed for?

The lesson is tailored for beginner computer science students aged 8 to 10.

Adapted from Polar Bear Rescue by Minecraft Education on Minecraft Education, last updated Sep 16, 2023. 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