CS452 - Real-Time Programming - Fall 2011

Lecture 21 - Projects, Trains

Public Service Annoucements

  1. Saturday November 5, 11.00 to 13.00. Open house for high school students.
  2. Information session on graduate studies: Tuesday, 8 November, 2011 at 16.30 in MC 2065
  3. First train control demo: 15 November, 2011.
  4. Final exam: Friday, 9 December, 2011 at 09.30.

Train Control Milestones

1. Tracking & Route Finding

What you are expected to do

2. Avoiding

What you are expected to do


1. Train style

Give trains roles and objectives. For example,

Another example,

Another examples,

Important Comment. Projects like these can vary from easy to hard, depending on things like how aggressive schedules are and how many trains are running on the track. You will probably want to start with unaggressive targets and increase the difficulty as a demo proceeds, so build your application accordingly.

2. Game style: AI

The track is a graph.

Many games are played on graphs

For example, watchmen and bandit.

Another example, PAC man

3. Game style: interactive

In the games you play for pleasure, the user normally controls one or more of the game entities.

Students often want to make an interactive project. It has been done successfully in the past, but constructing a usable interface is a challenge. Try starting with the project non-interactive: a not-very-intelligent artificial intelligence might, for example, stand in for the user in a partly functional version.

Return to: