Play the classic game theory experiment against AI opponents with different strategies
| Opponent Cooperates | Opponent Defects | |
|---|---|---|
| You Cooperate | Both: +3 | You: 0 Opponent: +5 |
| You Defect | You: +5 Opponent: 0 |
Both: +1 |
Tit for Tat: Cooperates first, then copies opponent's last move
Tit for Two Tats: Cooperates unless opponent defects twice in a row
Always Cooperate: Always cooperates regardless
Always Defect: Always defects regardless
Grudger: Cooperates until opponent defects once, then always defects
Detective: Tests with C,D,C,C then plays Tit for Tat or Always Defect
Pavlov: Repeats last move if it led to good outcome, switches if not
Random: Randomly chooses to cooperate or defect