Mind Challenge · Problem Solving

Circuit City Traffic

Program the traffic lights with sequences, if then rules and loops, then fix the bugs.

Play Circuit City Traffic More Mind Challenge games

  • Ages 8 to 14
  • Learning game
  • Plays in the browser
Circuit City Traffic: Program the traffic lights of a 3D junction with blocks: put steps in a sequence, write if/then rules so an ambulance gets through, and use a loop.

About Circuit City Traffic

Circuit City Traffic is a computing game for children aged 8 to 14. Children program the traffic lights of a 3D junction with blocks, so that the cars get through.

Each stage adds one idea: a sequence of steps, if then rules and a loop. Children then test the program and fix what goes wrong, which is called debugging. The junction is a made-up model, not how real traffic lights work.

How to play

  1. Put the light steps in a sequence, with an all-red step between two greens so that the cars do not crash.
  2. Add if then rules for the ambulance and the cars. The first rule that is true is used, so the order of the rules matters.
  3. Repeat the steps with a loop so that every car gets through the junction.
  4. Test the program, find the step that goes wrong and fix it.

Two levels, one game

Ages 8-10

Program the lights with sequences, if then rules and a loop that gets 12 cars through.

Ages 11+

The same ideas with a longer loop that gets 16 cars through the junction.

Questions about Circuit City Traffic

What programming ideas are in Circuit City Traffic?

The game covers sequences, if then rules, loops and debugging. A sequence is a list of instructions run in order, an if then rule makes a choice from a condition, a loop repeats instructions, and debugging means testing and fixing a program.

#

Why does the order of the rules matter?

When more than one if then rule could apply, the first rule that is true is used. In the game, the ambulance rule must come first, so that it is used before a general car rule.

#

Is the junction a real traffic light system?

No. The junction is a made-up model: one car passes per green step, and an all-red step between two greens is needed. Real traffic lights use sensors, timers and careful safety rules, and are not programmed like this.

#

Can my child play Circuit City Traffic without paying?

Yes. Circuit City Traffic is a learning game for children on play.3dw3b.com. It runs in any modern web browser on phones, tablets, Chromebooks and computers, so there is nothing to download.

#

More games like Circuit City Traffic

Want games like these for your organisation?

We design custom and white-label learning games for schools, academies, charities and companies.

Contact us How it works