Tunnel Boring Lab teaching notes

For middle and high school engineering, computer science, earth science and construction teachers. These notes cover a first period, the levels, the misconceptions the app is built to confront, and what it leaves out.

Using this with a class? Make a free class and add your students yourself: each gets a username and password, with no email or Google account needed. Or give them one join code. Using Google Classroom? Post the link there; with a free class, the link also puts each student in your class, so you see their work. mytekDev is also available from the Google Workspace Marketplace, so your school's Google admin can install it for everyone.A first lesson: Open it on the projector at Level 1 and press play. The starter pushes the machine 1.6 m forward and builds the first ring of the lining. Ask the class what holds the hole up while the machine digs, and how anyone steers a machine underground that cannot see. Then open Level 2 and run the same starter: the line curves, the machine goes straight, and the guidance screen shows it drifting off. Ask which side to push harder on.

Set up a free class Share to Google Classroom
Put this on your class site

Students can use Tunnel Boring Lab right on your page, with no account. What they make stays on that page; to keep their work, they make a free account.

Google Sites: Insert, then Embed, then By URL, and paste this address.

https://mytekdev.com/try/tunnelboringlab?embed=1

Canvas, a blog, or any page that takes HTML: paste this code where you edit the page as HTML.

<iframe src="https://mytekdev.com/try/tunnelboringlab?embed=1" width="100%" height="640" style="border:0" allow="fullscreen" title="Tunnel Boring Lab demo from mytekDev"></iframe>

About these notes

Tunnel Boring Lab is a tunnel boring machine under a city street, programmed in Blocks or Python. The ground is cut open along the line like a diagram: topsoil, sand with the water table in it, clay, and granite. The machine bores 1.6 m a stroke, builds a ring of the lining behind itself, and is steered by pushing harder on one side, read by a laser guidance screen. The machine's size, its rings and the 50 mm limit come from London's Crossrail tunnels; the cutters' ratings and top speed from published cutter data, rounded.

All 14 levels are open, and each saves its best drive. Machine, Configurator changes the machine every level runs: its size, its cutters, its shield and its name.

Holding the face pressure in Level 7 is a real control loop: on a real machine the operator, or the machine's own controller, runs the screw against the pressure in the chamber exactly this way, ring after ring.

A first period

Levels 1 and 2 fit in a period, with time to talk about steering something that cannot see.

  1. Run the starter (10 minutes) Open Level 1 and press the round play button or the space bar. The starter pushes on all four groups of cylinders alike, turns the cutterhead, bores one stroke and builds a ring: seven segments and a key. Before it runs, ask what holds the hole up while the machine digs.
  2. Drift off the line (10 minutes) Open Level 2 and run the same starter. The line curves left, the machine goes straight, and the dot on the guidance screen moves right of the middle until it leaves the 50 mm circle. Ask how anyone would steer a machine underground.
  3. Steer it (15 minutes) In the push block, make the right number bigger than the left: pushing harder on the right turns the machine left. About 80 on the right with 50 on the left follows this curve. Run it, and watch the guidance screen ring by ring.
  4. Talk (10 minutes) Ask why a push set once at the start works here, and whether it would still work if the curve changed halfway. Level 3 steers the same curve with turned rings instead, and Level 13 needs a program that reads the guidance every ring.

The levels

Each level opens with one idea and a task card that says what to do. The readings box gives the push, the cutterhead's speed, the force on each cutter and the face pressure as the machine bores, and the result names what went right or wrong.

LevelThe jobWhat it is built to show
1. First strokeBore one stroke and build one ringThe tunnel is lined as it is bored, ring by ring
2. Stay on the line20 rings within 50 mm on a gentle left curveSteering by pushing harder on one side; the guidance screen
3. Rings that turnThe same curve with the push even all roundTapered rings: one in five turned left follows the curve
4. Hard rock10 rings of granite in under 9 hours, no cutter past its ratingCut per turn grows with the force on each cutter, up to the rating; the rim sets the top speed
5. Worn cutters15 rings of granite, no cutter worn throughThe rim cutters roll farthest and wear first; change them past 80%
6. Mixed ground20 rings with rock below and clay aboveAn uneven face pushes the machine up; push harder on the top
7. Hold the face10 rings with the face pressure within 0.3 bar of its target 90% of the timeA control loop: the screw against the advance
8. The buildings above25 rings under shops and flats, each inside its 10 mm triggerThe settlement trough, survey points and trigger levels
9. Below the water table10 rings in wet sandWater pressure adds to the face; a slurry machine holds wet sand
10. A boulder12 rings with a boulder in the clay, no cutters chippedEvents: a program that reacts the moment something happens
11. Under the subway20 rings under an old subway tunnelSettlement under a structure in the ground, near the tunnel
12. Grout the gapLevel 8's street with the grout turned onThe gap behind the rings and what filling it saves
13. Breakthrough30 rings with everything at once, into the reception shaftThe whole drive, scored on the line, the street, the cutters and the time
14. Your routeA route the student buildsOne program tested on many routes

Programs push with tbm.push(top, bottom, left, right), turn the cutterhead with tbm.spin, bore with tbm.stroke and line with tbm.build_ring. They read tbm.deviation, tbm.ground, tbm.force, tbm.torque, tbm.pressure and tbm.settlement, change cutters with tbm.change_cutter, work the screw with tbm.screw while tbm.bore runs, and react with tbm.on("boulder", a_function). Blocks run as the same Python, and the Python tab shows it. Help, How it works lists every command.

What students get wrong, and where the app answers it

What students thinkWhere the app answers it
The machine digs the tunnel and the walls go in afterwardsLevel 1: a ring of the lining goes in after every 1.6 m stroke, and the machine pushes off it to move.
It steers like a car, with something that turns at the frontLevel 2: there is no steering. Pushing harder on the right turns it left, a little each stroke.
The driver can see where the tunnel is goingLevel 2: the machine is steered blind, by a laser that measures how far its head and tail are off the line.
Push harder and spin faster to go fasterLevel 4: each cutter has a rating, and the rim cutters a top speed. Past the rating the level stops.
All the cutters wear the sameLevel 5: the cutters near the rim roll much farther each turn and wear first.
Digging underground does not touch the streetLevel 8: every ring takes a little ground, and the survey points on the buildings show the street sinking.
More pressure at the face is always saferLevels 7 and 8: too little and the face runs in; more than the ground's own weight and the street heaves up.
A program runs top to bottom and nothing can interrupt itLevel 10: the boulder arrives mid-stroke, and only an event catches it in time.

What the app simplifies, on purpose

For construction and CTE classes

The machine is a pressure-balance tunnel boring machine for soft ground: a cutterhead with disc cutters and scraper teeth, a shield, thrust cylinders in four groups, a chamber held at pressure by the dug soil, and a screw that carries the spoil out. The configurator swaps in a slurry machine for wet sand or an open gripper machine for hard rock, and changes its size from 3 to 8 m across.

File, Drive record prints the drive the way a tunnel crew logs it: the route from above, how far off the line the machine was ring by ring, the ring log with each ring's turn and face pressure, the settlement at each building, the cutters changed, and the program that drove it.

It is not engineering training. A real drive adds geotechnical surveys, a crew of dozens and a site's own safety rules, which a construction program teaches on its own.

Setting it up for a class

No setup is needed. With free accounts, each student's levels, best drives, programs and machine save as one project. A shared project replays the student's last drive in the cutaway. Typed words in a shared project pass the platform's filter.

Big screen hides the menus for a projector. Slower and Speed up change how fast time runs underground; a program's wait is the drive's own time at any speed. The camera button switches between the cutaway, a view that follows the machine, and a view above the street.

Standards

Middle school can stop at Level 6: steering, rings and the cutters' limits need no formula. The target pressure, the control loop and events are high school.

More help

Is something on this page wrong or not clear? Write to us.

Page last reviewed November 2026.
Google, Google Classroom and Chromebook are trademarks of Google LLC.