🔁 Chapter 2: Loops · Level 9 of 30
Level 9: Staircase
Goal: Climb all the steps of the staircase to the star. ★★★ = 5 blocks or fewer.
▶ Watch how it works
Stairs repeat the same four steps: forward, left, forward, right. Put them in a loop.
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, turn left, forward, turn right. How many steps are there?
What you learn here
Find the part that repeats (the pattern), put it in a loop, and count how many times it happens.
Chapter 2 — Loops: When the same steps come again and again, put them inside a repeat block — and even a loop inside a loop.
Blocks in this level
- ⬆️move forwardThe robot moves one square the way it is facing.
- ↩️turn leftThe robot turns to its left on the same square.
- ↪️turn rightThe robot turns to its right on the same square.
- 🔁repeatRuns the blocks inside it again and again — tap − and + to choose how many times.