Skip to content

Planning Track Specifications

Raluca D. Gaina edited this page Feb 12, 2018 · 1 revision

These are constraints for the planning track:

  • The constructor of the agent must return before 1 second has passed after is called, or it will be disqualified from the level played.
  • The controller has 40 milliseconds to return an action when the act function is called.
  • Should the agent return the action after the time runs out, the following two situations may occur:
    • If the call took between 40 and 50ms, the action applied will be ACTIONS.ACTION_NIL.
    • If the call took more than 50ms, the controller will be disqualified from that game. The consequence of this is losing the game, and getting a score of -1000 points.
  • Important rule: Controllers must always aim for the 40ms target. Aiming, on purpose, for the 50ms to enjoy more computational time is considered an unsportsmanlike behaviour, and it will cause the disqualification of the controller from the competition. You should take into account that the purpose of this time slot 40-50ms is to prevent your controller from being disqualified too often because of miscalculations during the action time.
  • All controllers must be written in Java. The main Java class must inherit from core.player.AbstractPlayer.java and it must be named Agent.java. Its package must be the same as the username you used to register to this website.

Table of Contents:

Clone this wiki locally