Every agent plays the Prisoner's Dilemma against its 8 grid neighbours each round, then copies whichever neighbour scored highest. Tune the payoff matrix and watch cooperation spread, collapse, or cycle.
| Opp. C | Opp. D | |
|---|---|---|
| I cooperate | R=3.0 | S=0.0 |
| I defect | T=5.0 | P=1.0 |
Click / tap a cell on the grid to force it to the next strategy — the payoff & imitation rules replay from there.