Source document:
src/bots/README.md
Overview
This part of the project hosts bots that are compiled directly into the LocalGen executable.
Current bot overview
| Bot | Author | Enabled | Complexity summary |
|---|---|---|---|
| DummyBot | AppOfficer | No | Example heuristic greedy bot |
| SmartRandomBot | AppOfficer / GoodCoder666 | Yes | Largest-stack greedy |
| XrzBot | xiaruize0911 | No | Focused random greedy |
| ZlyBot | AppOfficer | Yes | Single-focus BFS heuristic |
| ZlyBot v2 | AppOfficer | Yes | Memory-aware weighted search |
| ZlyBot v2.1 | AppOfficer | Yes | Dual-focus defensive search |
| SzlyBot | GoodCoder666 | Yes | Terrain-weighted BFS heuristic |
| GcBot | GoodCoder666 | Yes | Adaptive heuristic BFS |
| XiaruizeBot | xiaruize0911 | Yes | Multi-source strategic search |
| KutuBot | pinkHC | Yes | Unified strategic objective planner |
| LyBot | pinkHC | No | Multiplayer objective planner |
| oimBot | oimasterkafuu | Yes | Stance-based strategic planner |
Requirements for a new built-in bot
- It must be written in C++ compatible with the project.
- It must stay within the C++17 feature set.
- The implementation should live in a single
*.cppfile. - That file must include
src/core/bot.h. - The class must inherit from
BasicBotand overridecompute. - The bot must be registered with
REGISTER_BOT.
Submission checklist
- Place the file in
src/bots/. - Choose a clear and unique filename.
- Add it to the top-level
CMakeLists.txtsource list. - Submit a pull request.