Hint 1 — Think about it
Two sensors, two jobs. The distance sensor tells you when a wall is close (time to turn). The color sensor under the car tells you when you have arrived. A U-turn is two right turns with a short drive between. The turret stays centred, facing forward for now.
Hint 2 — Which blocks to use
| motor ( D ) go to position ( ) degrees | Steers the back wheels. 0 = straight. Positive = right. |
| move forward for ( ) cm | Rolls forward while the wheels are steered — that is your turn. |
| Make a Block: turn right | Bundles steer + roll + straighten into one reusable block. |
| wait until distance sensor closer than ( ) cm | Finds the wall at the end of lane 1. |
| wait until color sensor sees ( green ) | Finds the finish tile. |
| play beep / set hub light | Your victory sound. |
Hint 3 — Plan in plain words
- Drive to the wall and stop.
- Turn right.
- Roll forward one lane spacing.
- Turn right again.
- Drive until the color sensor sees green, stop.
- Play the sound.
Watch out: Tune turn right on its own first: run only that block until the car ends up facing exactly sideways. Your stopping distance must be at least one turning radius, or the front will hit the wall mid-turn.
Playbook: Green means go