Update of "Dilemma"
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.


Artifact ID: a285604bdc098e4d2432d3908f42b6c5111ee1b5
Page Name:Dilemma
Date: 2009-11-21 23:33:04
Original User: james
Parent: 8838d9011e29c0be3fd654993599b0e410d1ee62

A simulation of an evolving collection of players of the iterated prisoner's dilemma.

When people co-operate, things usually turn out well. If no-one co-operates, then everyone usually suffers. So the game plan is obvious, right?

Wrong! If everyone else is co-operating, then some clever fellow will come along and take advantage. So now the game plan is obvious, refuse to co-operate and take advantage of everyone who is naively co-operating.

Stupid! This is so obvious that no-one will co-operate, will they? And, yes, everyone will suffer.

This is clever?

This is a famous dilemma, with all sorts of significant analogies in the real world from Mutually Assured Destruction to the Tragedy of the Commons to the evolution of ethics in a godless universe.

There is a very simple solution, though it only becomes perfectly obvious by using mathematical simulation.


The Fossil Repository

The fossil repository is a single file containing the complete history of the code source along with the documentation and tickets.

Fossil software configuration management provides self-hosting source control, documentation and ticketing all in one executable file obtained from here

Clone the dilemma fossil repository with the command

 fossil clone http://open:all@ dilemma.fossil

Extract the source code for the latest version

 fossil open dilemma.fossil

Zip File of v1.0 source code

A zip file containing just the source code for v1.0.0 can dowloaded from here