🏢 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
else if passenger is waiting → go to passenger floor
else if cargo is waiting → go to cargo floor
else stay idle