ai-code-battle/bots
jedarden 91e272f56a feat(bots): add leader-targeter bot with multiplayer score-aware targeting
Implement a new Java bot that applies multi-player game theory: in N>2
games, always direct all units toward the current score leader rather than
the nearest enemy. This creates a natural kingmaker dynamic that prevents
any single bot from running away with the game.

Strategy:
- Identify all visible opponents and their scores (cores count as proxy)
- Pick primary target: opponent with highest inferred score (tiebreak: nearest)
- Send all bots toward primary target's centroid (mean of visible bots + cores)
- Exception: if own core is under threat (enemy bot within 6 tiles), detach 2 bots to defend
- In 2-player games: fall back to straight aggressor strategy

Novelty: No current bot does multi-player score-aware target selection. Most
bots target nearest enemy, which lets a distant leader accumulate score
unmolested. Leader-targeter explicitly models the N-player problem.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-17 04:37:55 -04:00
..
assassin fix(bots): remove timestamp from verify_signature signing string 2026-05-02 20:43:44 -04:00
coordinator feat(bots): add coordinator bot with dynamic role allocation 2026-06-17 04:24:26 -04:00
defender fix(types): add missing ReplayPlayer import and type annotation for transcript feature 2026-04-22 18:20:56 -04:00
economist fix(economist): use bot positions as keys instead of non-existent IDs 2026-06-17 02:50:49 -04:00
farmer feat(mechanics): reduce flee thresholds and derive aggression from kill rate 2026-06-17 03:51:15 -04:00
gatherer feat(mechanics): reduce flee thresholds and derive aggression from kill rate 2026-06-17 03:51:15 -04:00
guardian fix(bots): remove timestamp from verify_signature signing string 2026-05-02 20:43:44 -04:00
hunter fix(bots): remove timestamp from verify_signature signing string 2026-05-02 20:43:44 -04:00
kamikaze feat(bot): implement Kamikaze bot (JavaScript) — aggressive self-sacrifice archetype 2026-04-22 17:11:28 -04:00
leader-targeter feat(bots): add leader-targeter bot with multiplayer score-aware targeting 2026-06-17 04:37:55 -04:00
nomad fix(types): add missing ReplayPlayer import and type annotation for transcript feature 2026-04-22 18:20:56 -04:00
opportunist fix(bots): remove timestamp from verify_signature signing string 2026-05-02 20:43:44 -04:00
pacifist feat(bot): add Pacifist bot (JavaScript) — non-aggressive attrition archetype 2026-04-22 16:32:50 -04:00
phalanx fix(bots): remove timestamp from verify_signature signing string 2026-05-02 20:43:44 -04:00
raider fix(bots): remove timestamp from verify_signature signing string 2026-05-02 20:43:44 -04:00
random fix(bots): remove timestamp from verify_signature signing string 2026-05-02 20:43:44 -04:00
rusher fix(bots): add zone edge margin to strategy bots for combat density 2026-05-26 08:42:44 -04:00
scout fix(bots): remove timestamp from verify_signature signing string 2026-05-02 20:43:44 -04:00
siege feat(mechanics): reduce flee thresholds and derive aggression from kill rate 2026-06-17 03:51:15 -04:00
swarm fix(replay): ensure events array is always populated in turns 2026-05-26 21:12:12 -04:00
zone-driver Implement ZoneDriverBot: zone-herding elimination strategy 2026-06-17 01:16:21 -04:00