The iterated prisoner's dilemma

Prisoner's Dilemma Tournament

Two players, one choice each round: cooperate or defect. Defecting always pays more in a single round, yet players who cooperate can both do better over many. Pick a field, write your own fighter, and see who comes out ahead.

The field

Every strategy plays every other one. Choose at least two.

Your fighter

Write a strategy as rules: a first move, then an answer to each way the last round can go.

First move
We both cooperated
I cooperated, they defected
I defected, they cooperated
We both defected
Start from

The rules

Points per round

The same seed replays the same coin flips for Random.

Results