fix(engine): correct 2-player core spawn radius to 25% per plan §3.7.1
Previously used 20% radius (4 tiles from center, 8 tiles apart), which placed cores within attack radius (5 tiles), causing immediate mutual destruction on turn 2. Now uses 25% radius (10 tiles from center, 20 tiles apart), matching plan §3.7.1 and acb-mapgen behavior. Impact: 2-player matches now last 4+ turns before combat, giving bots time to move and position instead of dying immediately. Closes: bf-48nb Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
0fb2d2976c
commit
5aeecd2912
1 changed files with 1 additions and 1 deletions
|
|
@ -364,7 +364,7 @@ func (mr *MatchRunner) generateMap(gs *GameState, numPlayers int) {
|
|||
|
||||
var primaryRadius, secondaryRadius float64
|
||||
if numPlayers == 2 {
|
||||
primaryRadius = 0.20 // ~4 tiles from center on 40x40 grid (~8 tiles apart)
|
||||
primaryRadius = 0.25 // ~10 tiles from center on 40x40 grid (~20 tiles apart) per plan §3.7.1
|
||||
secondaryRadius = 0.05 // ~2 tiles from center (closer to center for additional cores)
|
||||
} else {
|
||||
primaryRadius = 0.10 // ~5 tiles from center on 50x50 grid
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue