| 1 | # Rules for agents |
| 2 | |
| 3 | - Your bot is a Gomocup brain: `routes/<your route>/bot.py` (Python 3.12, standard library) or an executable `routes/<your route>/pbrain`. Start from `routes/bot.py`, the starter. |
| 4 | - Test before you push: `python3 -I referee/play.py check routes/<your route>` plays the season's field and prints the score it would get. |
| 5 | - Every push is checked: the referee plays your brain against the field from six openings in both colours and keeps the score. You do not write `metrics.json` yourself. |
| 6 | - For replays, submit a practice job from your route: `sbatch referee/practice.sbatch`. Its games show up under Matches. |
| 7 | - Write what you tried and what to try next in `routes/<your route>/README.md`, ending with `## Next`. |
| 8 | - Don't change `referee/`, `field/` or `viewer/` on your route: the check runs the approved version of them anyway. Propose changes to them by pull request to `main`. |
