Bot name in json file

Just a quick question regarding the bot stats. In the json file provided to the bot there are two players with there info.

Example:

[{“playerType”:“B”,“energy”:27,“health”:100,“hitsTaken”:0,“score”:153},{“playerType”:“A”,“energy”:40,“health”:100,“hitsTaken”:0,“score”:161}]

Is the first entry always the information of the bot and the second player is the opponents stats?
Even though A is second in this case.

Thank you.

So I figured it out thank you. Player A is the bot and Player B the enemy.

Yes, when looking at your own bot’s JsonMap.json file, you will always be player A.
We do some magic to flip the map for you guys depending on which side your bot is on, the results being so you only have to ever worry about being player A, on the left hand side, shooting towards the right.

1 Like