Spatialised Prisoner's Dilemma: Evolution Simulator
Welcome to Spatialised Prisoner's Dilemma Evolution Simulator.
If you're unfamiliar with the game theory for Prisoners Dilemma please visit Iterated Prisoners Dilemma. for details. In
this simulator the strategies are represented on a grid by colour code. Each
cell is played against it's eight neighbouring cells iteratively and the scores
averaged. Then cells are born by comparing the current mean scores of each cell
with it's eight surrounding cells. The cell with the highest mean is replicated.
Exception being cells born in the current generation, which are not overwritten.
Mean values are initialised at the end of each generation. An option is provided
to allows cells to persist for an unlimited period or die after 2 or 3
generations. An option is also provided for simulation rate. The Macroevolution
rate is quicker and less process intensive. See the examples below for setting
The strategy numerical values represent the probability
of the strategy choosing co-operate for each of the four possible outcomes as
well as for starting play. ie 1.0 meaning always co-operate and 0 meaning always
defect. The possible outcomes are T (temptation), P (Punishment), R (Reward), S
(Sucker) and B for how to begin play.
|T = red,
P = green, R
= blue. |
|S = red dots.
When S > 0.80 = :: or S > 0.60 =
:. or S > 0.40 = : or S > 0.20 = . else no dots. |
T=1, P=1, R=1, S=1, B=1
T=0, P=0, R=0, S=0, B=0
T=0.5, P=0.5, R=0.5, S=0.5, B=1 or 0
|Tit for Tat:
T=1, P=0, R=1, S=0, B=1
T=0, P=1, R=1, S=0, B=1
T=1, P=1, R=0, S=0, B=1
T=0, P=0, R=1, S=0, B=1
© Copyright 1997 - 2017, Wayne Davis www.spatialised-prisoners-dilemma.net