66 lines
1.7 KiB
TOML
66 lines
1.7 KiB
TOML
# Hawk–Dove phase experiment for the "normal ball" weapon.
|
||
#
|
||
# Red is the hawk (aggressive, fires the ball on sight of a non-kin);
|
||
# Blue is the dove (pacifist, never fires). Both teams carry the same weapon.
|
||
#
|
||
# The ball weapon is centred on the shooter, so escalating is a *costly*
|
||
# signal: its blast also catches kin and food. To turn that cost into a phase
|
||
# transition we change the spawn geometry:
|
||
#
|
||
# * Red (hawks) start packed together in a nest in the middle of the food
|
||
# field. Packed hawks are efficient at finishing off nearby doves with a
|
||
# small blast, but a large blast kills the pack itself (friendly fire) and
|
||
# vaporises the nest's food.
|
||
# * Blue (doves) start scattered across the whole field, so they forage
|
||
# widely and are poor targets for any single blast.
|
||
#
|
||
# Sweeping (view_dist, weapon radius) then separates two regimes:
|
||
# * low radius / enough view_dist -> the weapon favours the hawk;
|
||
# * high radius -> the weapon favours the dove.
|
||
# This is the classic Hawk–Dove result: escalation pays while C < V and stops
|
||
# paying once the blast's collateral cost dominates.
|
||
|
||
food_amount = 250
|
||
view_dist = 200
|
||
red_count = 10
|
||
blu_count = 10
|
||
|
||
[weapon]
|
||
kills_user = false
|
||
type = "ball"
|
||
radius = 90
|
||
|
||
# Hawks: a tight nest near the middle of the field (400x400 box).
|
||
[red_spawn]
|
||
x0 = 450
|
||
x1 = 850
|
||
y0 = 350
|
||
y1 = 750
|
||
|
||
# Doves: scattered over the entire food field.
|
||
[blu_spawn]
|
||
x0 = 200
|
||
x1 = 1100
|
||
y0 = 200
|
||
y1 = 900
|
||
|
||
# Food: scattered over the entire field.
|
||
[food_spawn]
|
||
x0 = 200
|
||
x1 = 1100
|
||
y0 = 200
|
||
y1 = 900
|
||
|
||
[red_policy]
|
||
aggressive = true
|
||
food = [1,0]
|
||
kin = [-0.3,0.02]
|
||
nonkin = [0.3,0.02]
|
||
none= [0.3, 0.01]
|
||
|
||
[blu_policy]
|
||
aggressive = false
|
||
food = [1,0]
|
||
kin = [-0.3,0.02]
|
||
nonkin = [-0.3,-0.02]
|
||
none= [0.3, 0.01]
|