Chapter 3: Debugging · Level 13 of 30

Level 13: The Wrong Turn

Goal: This program has a bug — it turns the wrong way. Fix it. ★★★ = 5 blocks or fewer.

▶ Watch how it works

This program has a bug. Watch where it goes wrong.

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

Blocks — tap to add

Your program

💡 Need a hint?

Run it and watch which block makes the robot go the wrong way. Remove it and add the other turn in its place.

What you learn here

A bug is a mistake in a program. Debugging means finding the bug and fixing it — every programmer does it every day.

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

Chapter 3 levels