Watch
1
Fork
You've already forked adversarial_foraging
0

hawk dove algorithmic search, added spawn zone conf via deepseek

This commit is contained in:
Andy Killorin 2026-11-11 18:48:37 -05:00
commit e34c92db91
Signed by: ank
GPG key ID: 80BA307A6BD7A7E4

View file

@ -136,6 +136,25 @@ sweep over the same grid would have been ~1.4M seeds).
- The boundary band (`tie` points) is where `|mean_diff| / SE < 3` even after the
sample cap.
## Spawn geometry
The base config may declare optional spawn regions:
```toml
[red_spawn]
x0 = 450
x1 = 850
y0 = 350
y1 = 750
```
`red_spawn`, `blu_spawn` and `food_spawn` each take `x0/x1/y0/y1`; members are
scattered uniformly inside the rectangle per seed. Omitting a region keeps the
original fixed columns (`blu` at `x = 100`, `red` at `x = 1200`, food in
`[200,1100] × [200,900]`). `ball.toml` uses this to build the Hawk–Dove
experiment in `HAWK_DOVE.md` (hawks nested in the field centre, doves
scattered); see that document for the game-theoretic rationale.
## Extending
- **Other axes:** point `--view-dist`/`--radius` at any numeric field, or add a