version 12 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next

  • Section: RoomLed
    The patroller's route is defined by a table of rooms that the patroller visits. if we use a RoomLed patroller we have to define a RoomTable. The first room in the table must be the initial location of the patroller. The extension does not check whether the first room is the initial location of the patroller nor does it check whether a valid route can be established between each of the rooms in the table.
        The dog is a Patroller in the Dog Kennel. The dog is RoomLed.
        The RoomTable of the dog is the Table of Walkies.
        Table of Walkies
      Dog Kennel  
      Front Yard  
      Main Street  
      Local Butchers