B4Coder

🚦 Traffic Junction (Simulation) · Mission 1 of 5

🟢 First Green

The junction on the right has lights but no controller: everything is red and cars are piling up. Your flowchart is the controller. It runs once every second.

Your mission

  1. Make ns = "green" and ew = "red".
  2. Press Play under the junction: north–south cars drive through, east–west cars wait.
  3. Then press Check.

Getting the mission ready…