Your toolkit
Everything on your car. The highlighted parts are the ones this mission needs.
SPIKE Hubthe brain · has a built-in gyroused this mission
2 Medium motorsleft + right wheels · ports A, Eused this mission
Large motorsteers the back · port Dused this mission
Large motorthe turret: swings the distance sensor · port Cused this mission
Distance sensorport B · looks right, left and ahead on the turretused this mission
Color sensorunderneath, pointing down · port Fused this mission
Hub gyrolevel-up: exact 90° turnsoptional level-up
Your car: the Delivery Cart with a large-motor turret carrying the distance sensor at the front, and a color sensor underneath. How to build it →
What the car must do
- Reach the green tile with the same stop-and-look loop.
- A dead end is when right, left and ahead are all blocked. Teach the car to turn around there.
- Count the dead ends the car visits and show the number on the hub.
Dead endsRight-hand ruleCounting with variables
Playbook cards for this mission: Open or blocked? · Dead ends: everything blocked · The right-hand rule
Maze size
| Along the route | Whole maze |
|---|---|
| 4 → 2.4 → 2.5 lane widths | about 7.8 × 5.5 lane widths |
With a 30 cm lane width the maze is about 234 × 165 cm. Lane spacing is one lane width plus a wall.
Success looks like
- The car finds the green tile through the maze.
- The hub shows 1 (the maze has one dead end on the car’s path).
- Your program never asks “how deep is this turn?”