Home▸Algorithms & AI▸Economics Game Theory Simulation

🧪 Economics Game Theory Simulation

Interactive 3D Hawk-Dove game simulator: watch a population of Hawk and Dove strategists compete for resources under replicator dynamics and converge on the evolutionarily stable strategy p* = V/C.

Algorithms & AI2DModerate60 FPS📱 Mobile-adapted
economics-game-theory-simulation ↗ Open standalone

This simulator renders a live population of animals contesting a shared resource under the classic Hawk-Dove game. Hawks always escalate to a fight; Doves display and retreat. Each generation, pairs of agents are drawn at random, their contest is resolved with the payoff matrix (V − C)/2, V, 0, V/2, and the population's Hawk fraction updates under the replicator equation toward the evolutionarily stable strategy p* = V/C. Tune the resource value, the cost of injury, mutation rate and simulation speed, and watch a 3D field of red Hawks and blue Doves settle — or fail to settle — into the mixed equilibrium that real behavioural ecology predicts for costly contests.

⚙ Under the hood

This 2D simulation explores game theory concepts by simulating strategic interactions between economic agents.

Game TheoryNash EquilibriumStrategic Interaction

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)