11"""
2- Strategies from Axelrod's first tournament. All strategies in this module are
3- prefixed by `FirstBy` to indicate that they were submitted in Axelrod's First
4- tournament by the given author.
2+ Strategies submitted to Axelrod's first tournament. All strategies in this
3+ module are prefixed by `FirstBy` to indicate that they were submitted in
4+ Axelrod's First tournament by the given author.
55
6- Note that in these strategies are implemented from the descriptions presented
6+ Note that these strategies are implemented from the descriptions presented
77in:
88
99Axelrod, R. (1980). Effective Choice in the Prisoner’s Dilemma.
@@ -111,7 +111,7 @@ class FirstByDowning(Player):
111111
112112 > "For the various lag-one matching strategies of O, the maximizing
113113 strategies of S will be 100% C, or 100% D, or for some strategies all S
114- strategies will be functionaly equivalent."
114+ strategies will be functionally equivalent."
115115
116116 This implies that the strategy S will either always cooperate or always
117117 defect (or be indifferent) dependent on the opponent's defining
@@ -264,7 +264,7 @@ class FirstByFeld(Player):
264264 This strategy plays Tit For Tat, always defecting if the opponent defects but
265265 cooperating when the opponent cooperates with a gradually decreasing probability
266266 until it is only .5. Note that the description does not clearly indicate how
267- the cooperation probability should drop, this implements a linear decreasing
267+ the cooperation probability should drop. This implements a linear decreasing
268268 function.
269269
270270 This strategy came 11th in Axelrod's original tournament.
@@ -346,7 +346,7 @@ class FirstByGraaskamp(Player):
346346 2. Defects on round 51;
347347 3. Plays 5 further rounds of Tit For Tat;
348348 4. A check is then made to see if the opponent is playing randomly in which
349- case it defects for the rest of the game, this is implemented with a chi
349+ case it defects for the rest of the game. This is implemented with a chi
350350 squared test.
351351 5. The strategy also checks to see if the opponent is playing Tit For Tat or
352352 a clone of itself. If
@@ -356,7 +356,7 @@ class FirstByGraaskamp(Player):
356356 Note that there is no information about 'Analogy' available thus Step 5 is
357357 a "best possible" interpretation of the description in the paper.
358358 Furthermore the test for the clone is implemented as checking that both
359- players have played the same moves for the entire game, this is unlikely to
359+ players have played the same moves for the entire game. This is unlikely to
360360 be the original approach but no further details are available.
361361
362362 This strategy came 9th in Axelrod’s original tournament.
0 commit comments