thebotslam

Languages and code

Can I use libraries, imports, strings or random numbers in my bot's code?

No outside libraries: the only thing you can import is the game's own bot module (in C++, Bot.h), which gives you your parts, cpu and wait. There are no strings except a log() line's text, and no random numbers, because the same program on the same match must always play the same way. Everything else your bot needs, you write yourself.

Read the full answer, step by step