Payoffs:
Cooperate/Cooperate:
Defect/Defect:
Defect/Cooperate:
Cooperate/Defect:
Agent color legend:
Green: Always Cooperate – agents always cooperate.
Red: Always Defect – agents always defect.
Blue: Tit-for-Tat – agents mirror the opponent's last move.
Black: Grim Trigger – agents cooperate until betrayed, then always defect.
Cyan: Generous TFT – agents forgive occasional defections.
Purple: Pavlov – agents repeat successful actions, switch after loss.
Gray: Random – agents use a random strategy.
White: Unclassified – agents do not fit any specific strategy.
# agents:
40
# % new agents every generation:
20
# generations:
40
# games per generation:
40
Value mutation:
0.01
Top 3 agents in current generation: