A classic game theory model of cooperation and conflict.
The Prisoner’s Dilemma is a fundamental concept in game theory. Two players must each choose to cooperate or defect without knowing the other’s decision. The twist: defecting always gives a higher individual payoff in a single round, yet mutual cooperation leads to a better collective outcome.
| You | Opponent | Your Score | Opponent Score | Meaning |
|---|---|---|---|---|
| 🤝 Cooperate | 🤝 Cooperate | +3 | +3 | Both benefit |
| 💰 Defect | 🤝 Cooperate | +5 | −5 | You exploit them |
| 🤝 Cooperate | 💰 Defect | −5 | +5 | You get exploited |
| 💰 Defect | 💰 Defect | −2 | −2 | Both lose |
Nash equilibrium: If both players are rational and self-interested, the Nash equilibrium is to defect — neither can improve their outcome by unilaterally changing strategy.
The paradox: The Nash equilibrium (both defect) is suboptimal compared to mutual cooperation. Individual rationality leads to collective irrationality.
Real-world applications: Arms races, climate change negotiations, price wars, tax compliance, and commons management all exhibit prisoner’s dilemma dynamics. Understanding these dynamics helps design better institutions, contracts, and incentive structures.
In iterated play: When the game is repeated, strategies like Tit-for-Tat can sustain cooperation through reciprocity. This app lets you explore all these dynamics with 32 different AI strategies.