Build challenge

Coding Park

Students build paths and obstacles in a park, then program their Agent to navigate safely through the challenges.

Coding Park
Essential question

How can we design courses and write accurate code to guide an Agent safely through obstacles?

Overview

Computer programming relies on logical sequencing, spatial reasoning, and iterative testing. In this challenge, learners explore core computer science concepts by structuring navigation puzzles and finding programmatic solutions to movement problems.

Using Minecraft Education, students set up physical paths and obstacles within a city park setting. They then write and test code to direct their Agent from a designated starting point to the finish line, refining their scripts whenever obstacles block the way.

Learning objectives

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

  • Construct pathways and obstacles to define a navigation course.
  • Program the Agent using sequential code commands to reach a finish line.
  • Test, debug, and modify coding scripts to overcome course obstacles.
  • Record navigation strategies and step-by-step code in a written log.

Blocks and items used in this lesson

Key vocabulary

Agent
A programmable character in Minecraft Education that executes code commands.
Obstacle
A physical structure placed along a route that prevents direct movement.
Sequence
The ordered list of instructions given to a program to accomplish a task.

Before class

Lesson sequence

Suggested timing: about 60 minutes in total.

  1. Introduction and Course Planning10 min

    Introduce the challenge of guiding an Agent through a park environment. Discuss how breaking a path into individual movement steps helps programmers plan accurate code.

  2. Path and Obstacle Construction15 min

    Students build pathways and place physical obstacles in the park to create clear routes for their coding challenges.

  3. Agent Coding and Testing20 min

    Learners write code to navigate the Agent through the custom route. They run their scripts, observe any errors when interacting with obstacles, and modify the commands until the Agent safely reaches the end.

  4. Documentation and Peer Challenges15 min

    Students log their code steps and strategies using a book and quill, or enter the free build area to construct a new challenge for a classmate to solve.

Assessment: success criteria

  • The student constructs a distinct route featuring paths and obstacles.
  • The Agent successfully travels from start to finish using coded instructions.
  • The student demonstrates debugging by altering code when encountering navigation errors.
  • The student records their problem-solving strategy and code sequence.

Differentiation

Support

Allow students to work in pairs to plan course routes and write code together.

Stretch

Have students design a custom maze in the free build area and challenge a peer to program the Agent through it.

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 entity do students write code to control during this challenge?

  2. 2In what environment is this series of coding problems set?

  3. 3What do students physically build to set up each challenge?

  4. 4Which item can students use to record their coding steps and strategies?

  5. 5Where can students build an original challenge for a partner to complete?

Resources

Frequently Asked Questions

Can students collaborate during these activities?

Yes, students can work in pairs or small groups to plan pathways, solve the coding tasks, and test their instructions together.

How can students document their learning during the lesson?

Learners can use the in-game book and quill to record their code sequences, describe obstacles, and explain the logic behind their solutions.

Adapted from Coding Park by Minecraft Education on Minecraft Education, last updated Nov 2, 2026. 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