Lesson plan

Canyon Arch Bridge

Teams program Code Builder to engineer two halves of a canyon arch bridge using vertical and horizontal strategies, then connect rails across the span.

Canyon Arch Bridge
Download lesson files
Ages
Ages 11-18
Essential question

How can contrasting algorithmic strategies, such as horizontal and vertical block placement, achieve the same structural design goal?

Overview

In this engineering task, students examine how different programmatic methods can solve the same structural challenge. Working in teams, learners use Code Builder to construct an arch bridge across a canyon to connect separated railway lines. Half of the class develops a vertical column-based algorithm starting from bedrock foundations, while the other half builds horizontally across rows from the abutment downwards.

Students test their algorithms in designated flat testing zones beside the canyon before deploying their code across the gorge. Once each group has completed their assigned half of the arch with granite blocks, teams share and combine their code to close the gap, lay tracks across the completed deck, and verify the structure with a minecart ride.

Learning objectives

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

  • Program the invisible builder tool using advanced builder commands to place granite blocks accurately.
  • Calculate the block sequences needed to form a curved arch using either a vertical or horizontal progression.
  • Test and refine code in staging areas before deploying it across the canyon gap.
  • Evaluate and integrate code from another team to unite two bridge halves into a single functional railway crossing.

Blocks and items used in this lesson

Key vocabulary

Builder
An invisible coding agent in Minecraft used to create large geometric structures via programmatic commands.
Abutment
The structural support at the canyon edge where the bridge connects to the land.
Foundation
The base support marked by bedrock from which the bridge columns rise.
Trace Path
A builder command that fills the line between a marked starting position and the builder's current location with blocks.

Before class

Lesson sequence

Suggested timing: about 85 minutes in total.

  1. Orientation and Site Inspection10 min

    Introduce the engineering brief: reconnecting two railway lines across a canyon using an arch bridge. Have students inspect the canyon site, locating the bedrock foundation markers, the midpoint granite blocks, and the flat testing plots.

  2. Algorithm Planning and Prototyping15 min

    Assign teams their construction direction. Vertical teams map out column heights (13, 12, 11, 10 down to 3 blocks) from the abutment. Horizontal teams plan row lengths (11, 11, 11, 10, 9, 8 down to 1 block) moving downwards from the deck.

  3. Code Builder Staging Tests20 min

    Students write and run code segments on the flat testing fields next to the canyon. Encourage iterative testing in small segments using commands such as builder move, builder turn, and builder trace path from mark with granite.

  4. Canyon Construction and Collaboration25 min

    Teams execute their refined code to construct their half of the arch over the canyon. Once their half reaches the midpoint, pairs from opposite approaches share code to assemble the complete bridge.

  5. Railway Testing and Debrief15 min

    Students lay minecart track along the completed deck and conduct a test ride across the chasm. Conclude with a class reflection comparing code efficiency, line lengths, and troubleshooting strategies.

Assessment: success criteria

  • Student code successfully constructs half of an arch bridge using the designated vertical or horizontal sequence.
  • The granite bridge structure reaches the midpoint and aligns with the opposite half.
  • Students successfully integrate partner code to complete the entire span and run a minecart from one canyon wall to the other.
  • Students can explain the trade-offs between horizontal and vertical building strategies and identify which approach required fewer lines of code.

Differentiation

Support

Provide scaffolding cards illustrating the exact numerical block sequences and basic command sequences for moving the builder and marking points.

Stretch

Challenge students to optimize their code using loops or functions to minimize total command blocks while maintaining structural accuracy.

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 tool in Code Builder allows students to place large structures programmatically?

  2. 2Which sequence of column heights is used by teams working vertically from the abutment?

  3. 3What block type indicates the midpoint between the canyon walls in the provided world?

  4. 4Where should students initially prototype and test their code before building over the canyon?

  5. 5How do students verify that their completed bridge functions as intended?

Resources

Part of the Code for STEM curriculum

This is lesson 4 of 20 in Code for STEM.

  1. 3-D Fractions
  2. Aquarium
  3. Build a Dam
  4. Canyon Arch Bridge
  5. Chicken or the Egg
  6. Creeper Tower Test
  7. Energy Transfer
  8. Forces
  9. Hour of Code: AI for Good
  10. Minecraft Code Town
  11. Molecules
  12. Number Line Railroad
  13. Plate Motions
  14. Road Construction Ahead
  15. Scale
  16. Slope
  17. Surface Area and Perimeter
  18. Units of Measurement
  19. Walled Fortress
  20. Wave Properties

Frequently Asked Questions

Where do students find the builder commands in Code Builder?

Builder commands are located under the Advanced tab inside the Code Builder interface in Minecraft Education.

Why are students assigned two different building methods?

One team builds vertically in columns from the foundation up while the other builds horizontally in rows from the abutment down, allowing the class to compare different algorithmic solutions to the same engineering goal.

What should students do if their code places granite blocks in the wrong direction?

Encourage them to check their builder orientation commands, such as builder turn or builder face, and test their coordinates on the flat test area before running code on the main bridge.

Adapted from Canyon Arch Bridge by John Miller on Minecraft Education, last updated Jun 2, 2022. 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