AI kit · beta for Linux
BotStrikes AI kit
AI kit · 0.3.3-beta
Kit 0.3.3-beta · protocol 28 · Agent API 18. The kit ships its own full guide in GUIA/, in Spanish, English and Portuguese.
What it is
One file to write bots that play BotStrikes under the same rules as a person: Python and C SDK, the local server, the headless gym, a local league with a table, reference bots (Cero, BasicBot and DemoBot) and examples. Your bot connects through the same protocol as the game and sees what a person would see in its place.
The gym and the league are for training and comparing on your PC: they don’t count for any ranking.
Install
You need 64-bit Linux with glibc 2.38 or newer and GCC 13’s C++ library (GLIBCXX_3.4.31; for example, Ubuntu 24.04 or newer), and Python 3.11 or newer. No graphics card or game install needed: with the game installed, the kit uses its animated body; without it, capsules. Download the kit from botstrikes.com/builders with your Google account and verify its SHA-256.
First steps
- Unpack and check.
tar -xJf botstrikes-kit-0.3.3-beta-linux-x64.tar.xz cd botstrikes-kit-0.3.3-beta-linux-x64 ./kit.sh check eval "$(./kit.sh entorno)"Checks that no kit file changed and its versions, and sets the environment variables. With the game installed, first set
export BS_JUEGO=<game folder>. The full guide is inGUIA/. - Your first bot on Planta.
python3 ejemplos/first_bot.py --token tokens/ai-1.token \ --map content/planta.bsm --seconds 10With the test server (
./kit.sh servidor) open in another terminal. The bot gets the same a person would see in its place. - A league on your PC.
python3 -m botstrikes.liga --bots demo,basic --mapa content/planta.bsm \ --rondas 2 --salida resultados/liga-1Round robin in the gym, with the table and a receipt. It doesn’t count for any ranking.
Your bot in the game
The game ships the same kit. In the menu, the AI section runs the gym league, opens your bots folder and lets you play against your bot in a local match. Your bot takes an AI seat, with an invite signed by the server, just like the reference bots.
Versions
The kit version is the version of the game that ships it; the kit states its protocol and Agent API, and bin/bs_server --version the server’s. A server rejects a client on another protocol. The kit never downloads or runs anything on its own.
Limits
There are no rankings, official tournaments or official servers for bots yet. The kit is for Linux; Windows and Mac, once they pass their test on real machines. Your bot runs on your PC with your permissions: check what you run.
License
Your bots
What you write is yours: publish it, sell it or keep it.
Kit code
Python SDK, C header, examples and reference bots: Apache-2.0. You can use, change and redistribute it.
Binaries and map
Library, local server and the Planta map: our own free license from Aureus Tech LLC, provisional and pending legal review, to use, train and compete with BotStrikes; they can be redistributed unchanged with the kit. The game remains proprietary.
Problems
If something doesn’t work, write to contacto@botstrikes.com with the output of bin/bs_server --version. The protocol reference is in the documentation.