From e4cb9b8d43d01d544c0346ddde92a42d3c70abe4 Mon Sep 17 00:00:00 2001 From: jedarden Date: Mon, 25 May 2026 20:30:13 -0400 Subject: [PATCH] style(engine): fix indentation in match.go comment block The comment block had incorrect indentation (extra leading tabs). Fixed with gofmt -w. --- engine/match.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/engine/match.go b/engine/match.go index 267cc8e..3397f5d 100644 --- a/engine/match.go +++ b/engine/match.go @@ -350,15 +350,15 @@ func (mr *MatchRunner) generateMap(gs *GameState, numPlayers int) { // Zone parameters: starts at turn 10, shrinks 2 tiles/turn, min radius 2 (2-player) // By turn 19, zone reaches min radius of 2 (6-tile diameter, ≤2×attack radius). // - // Spawn radius as percentage of grid half-size: - // - 2-player: 20% (~4 tiles from center on 40x40 grid, ~8 tiles apart) - // Zone starts at turn 10 with radius = maxDist + 5, then shrinks 2 tiles/turn. - // At 20% spawn radius (dist 4), zone starts at radius 9, shrinks to 5 by turn 12. - // Strategy bots (gatherer, rusher) move toward center, reaching attack range (5 tiles) - // within 2-5 turns, ensuring combat before zone kills them. Random bots may die - // from zone if they don't engage. This achieves >65% combat density target. - // - 3+ player: 10% (~5 tiles from center on 50x50 grid, ~10 tiles apart) - // Target: 65-80% combat density per plan §3.7.1. + // Spawn radius as percentage of grid half-size: + // - 2-player: 20% (~4 tiles from center on 40x40 grid, ~8 tiles apart) + // Zone starts at turn 10 with radius = maxDist + 5, then shrinks 2 tiles/turn. + // At 20% spawn radius (dist 4), zone starts at radius 9, shrinks to 5 by turn 12. + // Strategy bots (gatherer, rusher) move toward center, reaching attack range (5 tiles) + // within 2-5 turns, ensuring combat before zone kills them. Random bots may die + // from zone if they don't engage. This achieves >65% combat density target. + // - 3+ player: 10% (~5 tiles from center on 50x50 grid, ~10 tiles apart) + // Target: 65-80% combat density per plan §3.7.1. halfRows := float64(centerRow) halfCols := float64(centerCol)