@@ -9,6 +9,10 @@ class Retaliate(Player):
99 """
1010 A player starts by cooperating but will retaliate once the opponent
1111 has won more than 10 percent times the number of defections the player has.
12+
13+ Names:
14+
15+ - Retaliate: Original strategy by Owen Campbell
1216 """
1317
1418 name = 'Retaliate'
@@ -58,6 +62,10 @@ def reset(self):
5862class Retaliate2 (Retaliate ):
5963 """
6064 Retaliate player with a threshold of 8 percent.
65+
66+ Names:
67+
68+ - Retaliate2: Original strategy by Owen Campbell
6169 """
6270
6371 name = 'Retaliate 2'
@@ -70,6 +78,10 @@ def __init__(self, retaliation_threshold=0.08):
7078class Retaliate3 (Retaliate ):
7179 """
7280 Retaliate player with a threshold of 5 percent.
81+
82+ Names:
83+
84+ - Retaliate3: Original strategy by Owen Campbell
7385 """
7486
7587 name = 'Retaliate 3'
@@ -85,6 +97,10 @@ class LimitedRetaliate(Player):
8597 It will then retaliate by defecting. It stops when either, it has beaten
8698 the opponent 10 times more often that it has lost or it reaches the
8799 retaliation limit (20 defections).
100+
101+ Names:
102+
103+ - LimitedRetaliate: Original strategy by Owen Campbell
88104 """
89105
90106 name = 'Limited Retaliate'
@@ -162,6 +178,10 @@ class LimitedRetaliate2(LimitedRetaliate):
162178 """
163179 LimitedRetaliate player with a threshold of 8 percent and a
164180 retaliation limit of 15.
181+
182+ Names:
183+
184+ - LimitedRetaliate2: Original strategy by Owen Campbell
165185 """
166186
167187 name = 'Limited Retaliate 2'
@@ -176,6 +196,10 @@ class LimitedRetaliate3(LimitedRetaliate):
176196 """
177197 LimitedRetaliate player with a threshold of 5 percent and a
178198 retaliation limit of 20.
199+
200+ Names:
201+
202+ - LimitedRetaliate3: Original strategy by Owen Campbell
179203 """
180204
181205 name = 'Limited Retaliate 3'
0 commit comments