GAME THEORY · COOPERATION AND BETRAYAL
Repeated games and tit-for-tat
Cooperate first, then return what you get. Why such a simple rule did so well.
Play the prisoner’s dilemma once and defecting is dominant. But in survival games you rarely meet someone only once. The player you teamed up with today walks into the same room tomorrow, and the one who betrayed you turns up again next round.
What changes when the same game is repeated? Around 1980 the political scientist Robert Axelrod tested the question with computer tournaments, and the result surprised many: one of the shortest programs entered, Tit for Tat, won.
Last updated · 2026-11-26
Axelrod’s computer tournaments
Axelrod invited game theorists, economists, psychologists and others to submit programs that play the repeated prisoner’s dilemma. Mutual cooperation scored 3, mutual defection 1, defecting on a cooperator 5 and being defected on 0. Every program played a long match against every other in a round robin, together with a program that moved at random.
| First tournament | Second tournament | |
|---|---|---|
| Entries | 14 (+ a random program) | 62 from several countries (+ a random program) |
| Match length | A fixed number of moves | Could end after any move with a set probability (nobody knew when) |
| Winner | Tit for Tat (entered by Anatol Rapoport) | Tit for Tat (entered again by Rapoport) |
Tit for Tat’s rule fits in two lines: cooperate on the first move; after that, do whatever the opponent did on the previous move. Axelrod reported the results in two 1980 papers and the 1984 book The Evolution of Cooperation.
Why tit-for-tat did so well
Axelrod summed up what the top strategies had in common in four properties.
- Nice. It never defects first. Most of the top strategies shared this. Two nice strategies cooperate from start to finish and steadily collect 3 points a move.
- Retaliatory. Defected on, it hits back on the very next move, so it is not exploited for long.
- Forgiving. When the opponent cooperates again, it returns to cooperation right away. No long grudges, so the relationship can recover.
- Clear. The rule is simple, so other programs quickly learn that cooperating with it pays.
When cooperation holds
For cooperation to survive, the future must matter enough. Let δ be the chance that there is another round (or the weight of future points), and suppose the opponent uses the strict rule "defect forever after a single defection". Cooperating forever pays 3 every round; defecting now pays 5 once and 1 every round after. Working it out, cooperating is better when δ ≥ 1/2; in general, when δ ≥ (T − R)/(T − P). If the chance of another round is at least one half, future cooperation is worth more than today’s temptation of 5.
Add mistakes: retaliation that echoes
In reality mistakes happen. You press the wrong button, or misread a cooperative move as a betrayal. With such noise, a match between two Tit for Tats shows a weakness.
| Move | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| A (Tit for Tat) | C | C | D (mistake) | C | D | C | D |
| B (Tit for Tat) | C | C | C | D | C | D | C |
While they alternate, each averages (5 + 0) / 2 = 2.5 a move, less than the 3 of steady cooperation: one mistake turns into a long loss. A second mistake can tip them into mutual defection at 1 a move.
Fix 1: generous tit-for-tat
This variant sometimes lets a defection go unanswered. Forgiving with some probability breaks echoes like the one above quickly. In 1992 Martin Nowak and Karl Sigmund showed that in evolutionary simulations with errors, such generous variants establish themselves well. Forgive too often and you get exploited, so there is a sensible range for the forgiveness rate.
Fix 2: contrite tit-for-tat and Pavlov
Contrite Tit for Tat accepts one punishment without hitting back when the trouble started with its own mistake, then returns to cooperation. Pavlov (win-stay, lose-shift) repeats its last move after a good result (3 or 5) and switches after a bad one (0 or 1). After mutual defection (1 each) both switch to cooperation, so cooperation recovers by itself after a mistake. Pavlov’s weakness is an opponent who always defects, against whom it keeps flipping and is exploited. Wu and Axelrod (1995) reported that in a noisy tournament Tit for Tat with added generosity or contrition held up well, while Pavlov’s results depended on the opponents.
What not to overclaim
- Tit-for-tat is not "the best strategy". Tournament results depend on which strategies entered. It was strong in a field full of nice strategies; with a different field, others can win.
- It is fragile under noise. As shown above, with mistakes a generous variant beats pure Tit for Tat.
- Real relationships are messier than a symmetric two-player game. The size of cooperation varies, there are many partners, and reputations spread. Still, "start nice, retaliate, forgive" is a reasonable starting point in many situations.
Using it in games
- Open with cooperation towards a new player, but respond immediately to exploitation. In a survival game with repeated rounds, letting the first betrayal slide signals that you can be used again and again.
- Retaliate in proportion, and briefly. Holding a grudge to the end locks both of you into a cycle of mutual betrayal. When they come back, take them back.
- Create a way to tell mistakes from intent. If talking is allowed, "that was a mistake" breaks the echo. If not, be generous like generous Tit for Tat and sometimes offer cooperation first.
- Beware the last round. When the end is in sight the threat of retaliation disappears, and the other side knows it too.
References
- Robert Axelrod, "Effective Choice in the Prisoner’s Dilemma", Journal of Conflict Resolution 24(1), 1980
- Robert Axelrod, "More Effective Choice in the Prisoner’s Dilemma", Journal of Conflict Resolution 24(3), 1980
- Robert Axelrod, The Evolution of Cooperation, Basic Books, 1984
- Martin A. Nowak, Karl Sigmund, "Tit for tat in heterogeneous populations", Nature 355, 1992
- Martin Nowak, Karl Sigmund, "A strategy of win-stay, lose-shift that outperforms tit-for-tat in the Prisoner’s Dilemma game", Nature 364, 1993
- Jianzhong Wu, Robert Axelrod, "How to Cope with Noise in the Iterated Prisoner’s Dilemma", Journal of Conflict Resolution 39(1), 1995
- Axelrod library documentation, "Overview of past tournaments"
Read next
- The prisoner’s dilemma
Each player picks their best option and both lose. The most famous model in game theory, in exact numbers.
- Backward induction and the centipede game
Solving a game from its last move backwards, and the centipede game where doing so leaves both worse off.
- The tragedy of the commons and the public goods game
Everyone gains if everyone pays, yet nobody pays. Experiments, punishment and Ostrom’s solutions.
- Promises, threats and credibility
Only words that pay to keep when the moment comes are believable. The structures that make threats and promises credible.