← Gallery
ABM · 14

Spatial Prisoner's Dilemma

Each cell plays Prisoner's Dilemma with its 8 neighbors, then copies the strategy of the highest-scoring neighbor (or itself). Cooperators (sage) survive in clusters that resist defector (terracotta) invasion. Click cells to flip.

Step0
Cooperator share
Mean payoff