← LessonsPIXEL PATH Β· 4–6πŸ•

Pizza Pantry Collector

LESSON 116
🎯 Today's missions
πŸ•πŸ§ΉπŸ›Έ
PIZZA PLANET

Pizza Pantry Collector

The moon cafΓ© pantry is full! Build a tiny cleanup program that protects every ingredient still connected to an active order and reclaims everything truly unused.

🧠 Before we start

Your heartbeat circuit breaker remembered which safety state it was in. Today, programs also remember objects. A garbage collector follows connections from active roots, marks everything still reachable, then sweeps unused memory clean.

⏸️ Pauseβ†’πŸŸ‘ Mark reachableβ†’πŸ§Ή Sweep unused→♻️ Reuse space
Challenge 1 of 4Build the collector loop
1

Arrange the cleanup program

Tap four visual instruction blocks in the collector's safe order. It must discover what is still needed before clearing anything.

MY PANTRY COLLECTOR
1 Β· START
2 Β· TRACE
3 Β· CLEAN
4 Β· REUSE

🌟 What you learned

Come back tomorrow for another advanced visual coding adventure! ✨