A simulation of different strategies playing the iterated prisoner's dilemma.