A couple years ago when I heard a Radiolab podcast episode about a computer programming tournament, I thought I would try to reproduce in code a framework similar to the one devised by Robert Alexrod back in 1980. The premise revolved around the Prisoner’s Dilemma, an example in game theory that explores the rewards of selfishness.

Does being selfish pay?

In a nutshell, “play” revolves around two criminals who are in police custody. They are…