Prisoner's dilemma
This simulation tries different strategies for playing the prisoner's dilemma. We play each pair of strategies against each other. For each pair, we do multiple rounds. In each round, the players know what their opponent did in the previous rounds and they have to make a decision for this round.
- If both players cooperate — both get 3 points ("cooperation")
- If both players defect — both get 1 point ("conflict")
- One player cooperates, the other one defects — the first one gets 0 points ("sucker"), the other one gets 5 points ("temptation")
Loading...
Strategies tried in the simulation:
- Clever: Starts by defecting, then cooperates for a few rounds, but later applies quirky conditional logic; mostly mimics the opponent's last move unless special patterns appear.
- Tolerant: Cooperates unless the opponent defects twice in a row at some point.
- Agreeable: Always cooperates.
- Averager: Cooperates if the opponent has cooperated at least half the time overall.
- Crook: Defects first, then cooperates only on even-numbered rounds if the opponent cooperated last time.
- EvilAvg: Like Averager, but refuses to cooperate during the first two rounds.
- EvilNegative: Cooperates only if the opponent defected last round.
- EvilTf2T: Cooperates only if the opponent cooperated in at least one of the last two rounds, but not in the first two rounds.
- EvilTf1T: Cooperates only if the opponent cooperated in the last round.
- FlipFlop: Alternates strictly between defect and cooperate every round.
- Forgive0: Cooperates only if the opponent has never defected.
- Forgive1: Cooperates unless the opponent has defected more than once.
- Forgive2: Cooperates unless the opponent has defected more than twice.
- Historic: Cooperates unless the opponent defected on the second move.
- Negative: Defects first, then always does the opposite of the opponent's last move.
- NiceAvg: Like Averager, but always cooperates during the first two rounds.
- Evil: Always defects.
- Provocateur: Defects on the first move, then copies the opponent's previous move thereafter.
- Tf1t (Tit for Tat): Cooperates first, then copies the opponent's last move.
- Tf2t (Tit for Two Tats): Cooperates first, then defects only if the opponent defected twice in a row.
- Touchy: Cooperates like Tf1t but only if the opponent has never defected twice in a row.