← LessonsPIXEL PATH Β· 4–6🏜️

Oasis Cache Caravan

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

Oasis Cache Caravan

The caravan repeats the same long scouting trips! Build a memory cache so saved oasis maps can answer the next request instantly.

🧠 Before we start

At the Lava Trail, your program remembered choices so it could go back. Today it will remember answers. A cache saves a useful result and reuses it when the same request returns.

πŸ”Ž Checkβ†’πŸͺ Fetch if missingβ†’πŸ—„οΈ Saveβ†’βš‘ Reuse
Challenge 1 of 4Build the cache recipe
1

Arrange the cache recipe

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

MY VISUAL CACHE PROGRAM
1 Β· CHECK
2 Β· REUSE?
3 Β· FETCH?
4 Β· SAVE

🌟 What you learned

Come back tomorrow for another advanced visual coding adventure! ✨
πŸͺ

The Caravan Is Exhausted!

Scouts keep repeating the same desert trips. Build a cache that remembers each oasis map and returns repeats in a flash.