Chapter 4: Conditions · Level 22 of 30

Level 22: Endless Stairs

Goal: Climb the long staircase without counting the steps. ★★★ = 5 blocks or fewer.

▶ Watch how it works

Stairs again — but this time the loop runs until the star, without counting.

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

Blocks — tap to add

Your program

💡 Need a hint?

One step is forward, left, forward, right. Put it inside “repeat until star”.

What you learn here

“Repeat until” keeps going round until the goal is reached — useful when you do not know how many times.

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