Dilemma
Update of "Dilemma"
Not logged in

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

Overview

Artifact ID: 74eb2d50af3168f905c675a34f21dca4ce24dbe1
Page Name:Dilemma
Date: 2009-11-22 16:44:39
Original User: james
Parent: a285604bdc098e4d2432d3908f42b6c5111ee1b5
Content

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.

Download

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@66.199.140.183/cgi-bin/dilemma.cgi 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

Other Code

Other open source code by James Bremner, Raven's Point Consulting