Mobile Train Example
Toggle each train running by pressing the corresponding button on
the
button panel. This is from planD.txt - a modified version of
planC.txt.
Features and notes:
- A switch will accept a train and randomly select the next
track,
which means that sometimes trains will reverse, and always
reverse when
the switch is at the end of a line
- This program does not prevent trains from sharing a track, nor
from passing through each other. One thing at a time!
By: Nicholas Duchon
Date: Feb 18, 2011