← LessonsPIXEL PATH Β· 4–6πŸŒ‹

Lava Trail Backtracker

LESSON 102
🎯 Today's missions
πŸŒ‹πŸ§­
VOLCANO ISLAND

Lava Trail Backtracker

A lava wall blocks the island trail! Teach the explorer to remember every choice, undo a dead end, and try a new path.

🧠 Before we start

At the Koi Garden, your program remembered its current state. Now it will remember a whole trail of choices. When a path fails, it undoes the newest choice and tries another. Programmers call this backtracking.

πŸ‘£ Tryβ†’πŸ§  Remember→↩️ Undo if stuckβ†’βœ¨ Try another
Challenge 1 of 4Build the backtracking recipe
1

Arrange the trail recipe

Tap four visual instruction blocks in the order a backtracking program uses them.

MY VISUAL BACKTRACKING PROGRAM
1 Β· TRY
2 Β· REMEMBER
3 Β· CHECK
4 Β· UNDO

🌟 What you learned

Come back tomorrow for another advanced visual coding adventure! ✨
πŸŒ‹

The Lava Trail Is Blocked!

One path ends at a fiery crater. Build a backtracking program that remembers its trail, goes back safely, and finds the rescue boat.