Implementation

Passive Tactic and Roles that do not influence the state of a play. If a passive Tactic succeeds, this information is not of importance for the other roles. Examples of Passive roles are; Defender and Formation. Examples of Passive tactics are; BlockBall and Formation. None of these parts involves manipulating the ball.

Active Tactics and Roles that do influence the state of the play. The succession of an Active Tactic and Role should probably result in the play changing. Examples of Active roles are; Striker and BallPlacer. Examples of Active tactics are; Kick and GetBall

Plays can be split effectively by sorting them on the state of the game with respect to the ball. There are 3 states.

Offensive When the ball is in possession of the team, we try to score. We either pass or shoot at goal.

Defensive When the ball is in possession of the enemy team or contested, the play will be to defend the goal and steal the ball.

Referee Specific States that the referee calls upon are states that will only be used in specific plays.

Likewise, ’evaluations’ were added that should hold all evaluations that are needed in the play. Within evaluations, a score is given based on evaluating the input parameters and mapping them to a 0-255 range with a piece-wise linear function. For example, when evaluating the openness of a location, all the distance gathering of the location is done in the computation which refers that information to the evaluation The evaluation will then make a score based on the given parameters (i.e. summing them up) and map the result to the correct range.

Example of a piece-wise function, mapping an input of x to the uint8-t score of the evaluations