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
- Your program must not say “right, then left”. The car decides every turn from what it sees.
- At each wall: look right and look left with the turret. Right open? Turn right. Else left open? Turn left.
- Repeat until the color sensor sees green, then play a sound.
Turret scanningOpen or blocked?Right-hand rule
Playbook cards for this mission: Stop and look · Open or blocked? · The right-hand rule · Green means go
Maze size
| Along the route | Whole maze |
|---|---|
| 5 → 1.2 → 5 → 1.2 → 5 lane widths | about 6.3 × 3.7 lane widths |
With a 30 cm lane width the maze is about 189 × 111 cm. Lane spacing is one lane width plus a wall.
Success looks like
- The car reaches the green tile with no scraping.
- It passes the mirror test: flip the maze left-to-right and the same program still works.
- It plays its sound on green.