← LessonsPIXEL PATH Β· 4–6🍿

Circus Popcorn Valve

LESSON 150
🎯 Today's missions
πŸŽͺ🍿🀑
CIRCUS CODE

Circus Popcorn Valve

The popcorn popper is SO fast, but the clown can only hand out one cup at a time. Where does all the extra popcorn go? Let's teach the popper to wait!

🧠 Before we start

Volcano Bookmark Cart taught us to take a big list a little at a time. Today we learn what happens when a machine makes things faster than another machine can use them. The slow one can tell the fast one "wait!". This is called backpressure.

🍿 Popβ†’πŸ§Ί Trayβ†’πŸ€‘ Serveβ†’βœ‹ Tray full? Wait!
Challenge 1 of 4Build the valve program
1

Build the valve program

Tap the blocks in the right order so the popper never makes more than the tray can hold.

VALVE PROGRAM Β· CHECK, PAUSE, SERVE, RESUME
1 Β· CHECK
2 Β· PAUSE
3 Β· SERVE
4 Β· RESUME

🌟 What you learned

Come back tomorrow for another advanced visual coding adventure! ✨