Development of a "back end" of a simple game simulation involving trains.