- Size of the play field (10400x13400/5) and the goal post, center circle.
- Diameter of the ball as (180/5)
- Buffer length for finding if there is an opponent's bot nearby as 400/5, say, 'is_nearby_threshold'.
- Threshold length for passing the ball 2000/5 (have to verify, depends on speed of ball), say, 'pass_threshold'
- X and Y coordinate of 12 bots (6 on each bots).
- Id of each of our bot and the opponent bots.
- Id of the bot which has the ball currently, say, 'current'.
- Return which bot's id will have the ball in next turn.
- First we find the euclidean distance between 'current' and all our bots.
- List out which bot has length less than 'pass_threshold'.
- For the remaining bots, create a hypothetical rectangle of length, equal to distance between the 'current' and other bot, and width equal to 'is_nearby_threshold'.
- In that check if there is any opponent bot present in that rectangle.