4. Vision Explained - RMHSProgrammingClub/Bot-Server GitHub Wiki

The final topic of this basic API porting guide is vision data. As you know vision data is sent to the client along with other bot information each turn. The vision consists of everything the bot can currently see. The vision is an array with each index of it being an entity. It is all stored with JSON
The table below explains what each vision parameter means.

JSON Description
type Either BOT, WALL, BLOCK, or FLAG
team Only sent when type = BOT or FLAG. The team of the bot
x The x position
y The y position
angle The angle
health The health. This can be ignored with walls