Dilemma
Artifact Content
Not logged in

Artifact 74eb2d50af3168f905c675a34f21dca4ce24dbe1:

Wiki page [Dilemma] by james 2009-11-22 16:44:39.
D 2009-11-22T16:44:39
L Dilemma
P a285604bdc098e4d2432d3908f42b6c5111ee1b5
U james
W 1990
A simulation of an evolving collection of players of the iterated <a href=http://en.wikipedia.org/wiki/Prisoner%27s_dilemma>prisoner's dilemma.</a>

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.

<h2>Download</h2>

<h3>The Fossil Repository</h3>

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 <a href = http://www.fossil-scm.org> here </a>

Clone the dilemma fossil repository with the command

<pre>
 fossil clone http://open:all@66.199.140.183/cgi-bin/dilemma.cgi dilemma.fossil
</pre>

Extract the source code for the latest version

<pre>
 fossil open dilemma.fossil
</pre>

<h3>Zip File of v1.0 source code</h3>

A zip file containing just the source code for v1.0.0 can dowloaded from <a href=http://66.199.140.183/cgi-bin/dilemma.cgi/zip/Dilemma-08fa7a177c.zip?uuid=08fa7a177cd8685e33a9f6a7764762bbdbe4bc5f> here </a>

<h2> Other Code</h2>
[http://66.199.140.183 | Other] open source code by James Bremner, [http://ravenspoint.com | Raven's Point Consulting ]

Z 16dda73ed0c8c1f7c75cedeac24f7550