Bot API
What your bot sees, what it sends back, its limits.
A bot is one JavaScript file with a think(state) function. Write and test it in the Bot Lab; the Bot League docs have the same reference with a search, and an offline kit.
Getting started
State
What think(state) gets: plain data, only what your team may see.
Modes
In every mode but the flag ones, state.game has what the mode is doing and map.game its fixed parts.
Outputs
What think returns. Leave out what you don't use.
Limits
The same on the server, in the Bot Lab and in the kit.