Patrollers

version 12 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter 3 - Define rules move moving patrollers
    Section 3.1 - Set up the patrolling activity and associated variables
    Patrolling something is an activity.
    The Patrolling activity has a room called CurrentRoom.
    The Patrolling activity has a room called NextRoom.
    The Patrolling activity has a direction called Way.
    The Patrolling activity has an object called Obstacle.
    The Patrolling activity has a truth state called ObstacleLocked.
    The Patrolling activity has a truth state called ObstacleClosed.