ai-code-battle/cmd
jedarden 66e7951e99 fix(cli): handle draw result without panic
The acb-local tool was panicking when a match ended in a draw
(Winner = -1) because it tried to use -1 as an array index into
botNames[]. Fixed by checking if Winner >= 0 before accessing
the array, and printing "Result: Draw" for draws.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 11:13:00 -04:00
..
acb-api style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00
acb-enrichment style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00
acb-evolver style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00
acb-index-builder style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00
acb-local fix(cli): handle draw result without panic 2026-05-24 11:13:00 -04:00
acb-map-evolver style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00
acb-mapgen style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00
acb-matchmaker style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00
acb-wasm style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00
acb-worker style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00