← LessonsPIXEL PATH Β· 4–6🏜️

Oasis Search Party

LESSON 98
🎯 Today's missions
🏜️πŸͺ
DESERT OASIS

Oasis Search Party

A sandstorm hid the trail! Teach the camel team to search nearby places first, so nobody wanders past the closest water.

🧠 Before we start

At Priority Clinic, you used a queue to remember who goes next. Today that queue becomes a search team: visit every nearby place before moving farther away. Programmers call this breadth-first search.

πŸ“ Startβ†’πŸ‘€ Nearest firstβ†’βž• Add new placesβ†’πŸ” Keep searching
Challenge 1 of 4Build the search rule
1

Build the search rule

Tap the four instruction blocks in the order the camel team should follow.

MY VISUAL SEARCH PROGRAM
1 Β· BEGIN
2 Β· LOOK
3 Β· REMEMBER
4 Β· CONTINUE

🌟 What you learned

Come back tomorrow for another visual coding adventure! ✨
🏜️

The Trail Has Vanished!

The camel team has many paths but only one water map. Build a search rule that checks nearby places first and finds the oasis without getting lost.