3

Next Station

Run a train station from your program. Stop each train long enough for its passengers, then send it on its way.

Easy – Hard3 levels1 device
Play this mission

No hardware, no sign-up: press Play and every mission runs on 3D simulated devices.

Wooden trains come out of a tunnel and run past your station. When a train stands at the platform, your program has to hold it there long enough for the passengers, then let it go. Roll through and everyone is left behind. Wait too long and the next train runs into it!

What you'll learn

  • Waiting on purpose: a delay of a few seconds, at the right moment
  • Sequences: stop, wait, signal, go, in that order every time
  • Counting: count every train that goes by with a counter

Levels

  1. All aboard: stop every train for 3 seconds, then send it off
  2. Station signal: red while it stands, green to leave, yellow in between
  3. Express!: odd-numbered trains stop, even-numbered ones are expresses that run straight through, and you count them all

More missions

Rush Hour

Run a traffic gate with blocks. Open it for each car, close it once the car is through, then add traffic lights and a car counter.

  1. Let them through
  2. Traffic lights
  3. Count them
Easy – Medium3 levels1 device
Play this mission

Crossroads

Run two gates at a crossing from one program. Let one road go at a time, with no crashes.

  1. Take turns
  2. Two traffic lights
  3. Busy junction
Medium – Hard3 levels2 devices
Play this mission

Sorting Yard

Sort trains with your program. Read a sensor to tell what kind of train is coming, then throw the points to send it the right way.

  1. Left or right?
  2. Passengers only
  3. Count them apart
Easy – Hard3 levels1 device
Play this mission