🐞 Chapter 3: Debugging · Level 15 of 30
Level 15: Too Many Times
Goal: The loop goes round too many times and bumps the rock. Fix the number. ★★★ = 5 blocks or fewer.
Blocks — tap or drag to add
Your program
💡 Need a hint?
Count the squares the robot must walk before it turns. Use − on the repeat block.
What you learn here
Many bugs are a wrong number. Counting carefully is part of coding.
Chapter 3 — Debugging: Each level starts with a program that has a mistake. Run it, watch where it goes wrong, and fix it.
Blocks in this level
- ⬆️move forwardThe robot moves one square the way it is facing.
- ↪️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.