TECHNICAL SPECIFICATIONS & BOT PROTOCOL
CYBER-GRID RULEBOOK
Complete guide to the 16x16 deterministic simulation, entity stats, combat rules, and communication protocol.
++++
ARENA GEOMETRY
16 x 16 GRID
Symmetric procedural map seeded randomly. Rotational symmetry ensures fair distance between cores and resource nodes.
++++
MATCH DURATION
200 TICKS MAX
If both cores survive past Tick 200, winner is decided by: Core HP → Total Unit HP → Remaining Resources.
++++
COMMUNICATION
NDJSON / STDIN
Single-line JSON per tick. Advance immediately upon receiving newline; no process restart per tick.
Unit Types & Specifications
| UNIT | BUILD COST | MAX HP | ATTACK | VISION (R) | SPECIAL ABILITY |
|---|---|---|---|---|---|
| CORE | — | 100 | 0 | 4 | Generates 10 Data/tick; Spawns units; Loss = Defeat |
| WORKER | 20 Data | 25 | 5 | 2 | Mines +5 Data/tick when on Resource Node |
| SCOUT | 25 Data | 20 | 8 | 5 | High mobility & wide vision radius for reconnaissance |
| TANK | 50 Data | 60 | 20 | 2 | Heavy armor frontline combat unit |
++++
DISQUALIFICATION & SANDBOX RULES
- Warmup: Bot must print
READY\nwithin 1,000 ms on startup. - Turn Budget: 50 ms base time + 2,000 ms Time Bank reserve. Exhausting Time Bank causes instant disqualification.
- I/O Caps: Max 16 KB stdout per turn line. Max 200 chars/tick stderr logging.
- Environment: Network access is disabled (
--unshare-net); file system is read-only except for private tmpfs.