Patrollers

version 12 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 2.2 - Initialize Direction Led Patrollers
    When Play begins (this is the initialize direction-led patrollers rule):
        repeat with Bod running through DirectionLed Patrollers:
            now the PathLength of the Bod is the number of rows in the DirectionTable of the Bod;
            now the PathStage of the Bod is 1.