Documentation Index
Fetch the complete documentation index at: https://docs.battlecode.cam/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
- Python 3.12 or 3.13 (3.14 is not supported)
- pip (comes with Python)
Install
The
cambc package includes the full game engine compiled for your platform. Supported: macOS (Apple Silicon + Intel), Linux (x86_64 + ARM64), Windows (x86_64).Verify
Set up your project
cambc.toml config, bots/ and maps/ directories, a .gitignore, and optionally a starter bot. See the CLI reference for details.
What’s included
| Component | Description |
|---|---|
cambc CLI | Run local matches, open the visualiser, submit bots, trigger test runs |
cambc Python module | Game types (Team, EntityType, Direction, Position, etc.) for use in your bot code |
titan_runner | The compiled Rust game engine (embedded, runs locally with no time limits) |
Next steps
Write your first bot
Create a simple bot that spawns builders and starts harvesting.
CLI reference
Full reference for all CLI commands.

