🚦 Traffic Light · Mission 5 of 6

🚑 Ambulance!

When an ambulance comes, the light must turn green so it can rush through.

Your mission

  1. Ask "Is an ambulance coming?"
  2. If the answer is "yes": turn the light green, let 1 car (the ambulance) through, and show "Ambulance through!"
  3. If not: keep the light red and show "Please wait".

Getting the mission ready…