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.
Log in
Before submitting, authenticate the CLI with your platform account:cambc logout.
Via CLI
Via the platform
- Go to game.battlecode.cam
- Navigate to Submissions in the sidebar
- Upload your bot zip
Bot requirements
Your submission must contain amain.py file with a Player class. The file can be at the root of the zip or inside a single top-level directory.
| Constraint | Limit |
|---|---|
| Zip size | 5 MB max |
| Decompressed size | 50 MB max |
| File count | 500 files max |
| Native extensions | Not allowed (.so, .pyd, .dylib, .dll) |
| Imports | Must be top-level (file I/O is blocked during run()) |
What happens after upload
- Your zip is validated (structure, size, no native extensions)
- Status is set to ready
- Your latest ready submission becomes your active bot on the ladder (you can also manually select which submission is active from the Submissions page)
- The scheduler pairs you against other teams every 10 minutes

