Category:Perceptual Bots

From Robowiki
Jump to navigation Jump to search

A bot that does not store any state between ticks.

In David McCoy's perceptual survivalist league, this was specified by prohibiting the following:

  1. Non-final member variables in the bot class, and any utility classes, including inner and anonymous classes (i.e. Conditions)
  2. Use of any of the following functions:
    • getAllEvents()
    • getBulletHitBulletEvents()
    • getBulletHitEvents()
    • getBulletMissedEvents()
    • getDataDirectory()
    • getDataFile(String filename)
    • getDataQuotaAvailable()
    • getHitByBulletEvents()
    • getHitRobotEvents()
    • getHitWallEvents()
    • getRobotDeathEvents()
    • getScannedRobotEvents()
  3. Modification of non-final static variables from built-in classes, directly, or via mutator methods
  4. Use of static methods from built-in classes to store information in any way
  5. Encoding information into your bot's state for later retrieval is prohibited. For example, using setMaxVelocity(7.0 + enemyHeading / (2.0 * Math.PI)) to store another bot's last heading is not allowed.
  6. The addition of a custom event with a Condition that stores temporary values MAY be allowable, provided the Condition is immediately removed once the event has been handled.

As there is presently no active competition for perceptual bots, there is no commonly agreed upon rule set.

Pages in category "Perceptual Bots"

The following 2 pages are in this category, out of 2 total.