Chapter 4: Conditions · Level 21 of 30

Level 21: Left Spiral

Goal: This spiral turns the other way. Change the rule to fit. ★★★ = 4 blocks or fewer.

▶ Watch how it works

The same idea with left turns: free ahead? forward. Blocked? turn left.

Got it? Now solve your puzzle ↓ (a different board — work it out yourself!)

Blocks — tap to add

Your program

💡 Need a hint?

Same idea as the last level — but which way must the robot turn when the path is blocked?

What you learn here

A good rule can solve a long path with just a few blocks, no matter how long the path is.

Chapter 4 — Conditions: Teach the robot to decide for itself: keep going until the star, and turn only when the path is blocked.

Blocks in this level

Chapter 4 levels