← Back to Age 9
Age 9 • Lesson 3 • Conditions + Priority

Elevator Helper Challenge

Help the elevator choose the correct action. Use priority rules: emergency first, then passenger, then cargo, otherwise stay idle.

🏢 Elevator Mission

⬜ Round 1: Normal passenger
⬜ Round 2: Emergency priority
⬜ Round 3: Passenger before cargo
⬜ Round 4: Stay idle
⬜ Round 5: Mixed priority
Read the requests, choose the best action, then test your condition.
🏅 Badge earned: Priority Coder!

🧩 Choose Elevator Action

Round 1
Rule appears here.

🧠 Coding Concept

Conditions help a program choose what to do. Priority means the program checks the most important rule first.

if emergency exists → go to emergency floor
else if passenger is waiting → go to passenger floor
else if cargo is waiting → go to cargo floor
else stay idle