Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.
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 Mutaually 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:email@example.com/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