Home▸Genetics & Evolution▸Evolutionary Game Theory: Replicator Dynamics (2D)

🦊 Evolutionary Game Theory: Replicator Dynamics (2D)

A 2D Canvas simulation of spatial evolutionary games — Hawk-Dove, Prisoner's Dilemma, and Rock-Paper-Scissors — where cells imitate their fittest neighbour each generation, driving strategy frequencies toward Nash equilibria and evolutionarily stable strategies (ESS).

Genetics & Evolution2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-evolutionary-game-theory ↗ Open standalone
⚙ Under the hood

A 2D Canvas simulation of the same spatially structured evolutionary games as the 3D original: Hawk-Dove, Prisoner's Dilemma, and Rock-Paper-Scissors played on a 100x62 toroidal grid where every cell imitates its fittest Moore neighbour each generation. Live pie, trend, and payoff-matrix panels track how strategy frequencies converge toward Nash equilibria and evolutionarily stable strategies (ESS) as you tune payoff values and mutation noise.

Game TheoryEvolutionCellular AutomatonNash EquilibriumGeneticsReplicator Dynamics

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

What did you find?

Add reproduction steps (optional)