# Sample bots (Nim) — first opponents Source (read-only, **not** copied into the repo): `/home/davide/Downloads/robocode-tankroyale/sample-bots-nim-linux-1.0.7/` All entries are prebuilt native Nim binaries (`` + `.json` + `.sh`). The wrappers in this directory reference the Downloads binaries by absolute path; the Downloads tree is never modified. ## Launch method The official booter (`tools/booter/robocode-tankroyale-booter-0.35.5-all.jar`) runs `/.sh` with cwd = the bot directory and injects `BOT_*` / `SERVER_*` from the sibling `.json`. Each wrapper follows the existing `legacy_bots/DrussGT/` pattern: `cd "$(dirname "$0")"` then `exec `. Directly via the raw recorder: ``` cd tools/raw_recorder mkdir -p /tmp/rec java -cp "shadow-classes:out:/home/davide/Projects/tank-royale/runner/examples/lib/robocode-tankroyale-runner.jar" \ RawRecord --dir /tmp/rec --rounds 2 --bot ../../tr_bots/ --bot ../../tr_bots/ python3 tools/raw_recorder/query.py /tmp/rec/game-*.battle.gz --verify # expect CONTIGUOUS ``` ## Bots | Name | Kind | Launch | Smoke test | |---|---|---|---| | Corners | native Nim binary | `.sh` → Downloads binary | WORKS (vs SpinBot, CONTIGUOUS) | | Crazy | native Nim binary | `.sh` → Downloads binary | WORKS (vs Walls, CONTIGUOUS) | | Fire | native Nim binary | `.sh` → Downloads binary | WORKS (vs MyFirstLeader, CONTIGUOUS) | | MyFirstBot | native Nim binary | `.sh` → Downloads binary | WORKS (vs Walls, CONTIGUOUS) | | MyFirstDroid | native Nim binary (team member / droid) | `.sh` → Downloads binary | WORKS solo (vs Walls, CONTIGUOUS) | | MyFirstLeader | native Nim binary (team leader) | `.sh` → Downloads binary | WORKS solo (vs Fire, CONTIGUOUS) | | PaintingBot | native Nim binary | `.sh` → Downloads binary | WORKS (vs Walls, CONTIGUOUS) | | RamFire | native Nim binary | `.sh` → Downloads binary | WORKS (vs Walls, CONTIGUOUS) | | SpinBot | native Nim binary | `.sh` → Downloads binary | WORKS (vs Corners, CONTIGUOUS) | | Target | native Nim binary | `.sh` → Downloads binary | WORKS (vs Walls, CONTIGUOUS) | | TrackFire | native Nim binary | `.sh` → Downloads binary | WORKS (vs Walls, CONTIGUOUS) | | VelociBot | native Nim binary | `.sh` → Downloads binary | WORKS (vs Walls, CONTIGUOUS) | | Walls | native Nim binary | `.sh` → Downloads binary | WORKS (vs Target, CONTIGUOUS) | | MyFirstTeam | **team** config (no binary) | `.json` with `teamMembers` only; booter resolves members `MyFirstLeader`, `MyFirstDroid` as **sibling** dirs under `tr_bots/` | NOT_A_BOT (team container); members verified individually | Smoke tests: 13/13 runnable single bots produced valid, contiguous recordings. Not smoke-tested: `MyFirstTeam` (team, `gameTypes: classic, melee`) — RawRecord only builds a 1v1 `classic` battle, so a 5-member team cannot be exercised there. The team's members are all present as siblings and each was verified solo.