1
1
"""
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.
5
5
6
- Note that in these strategies are implemented from the descriptions presented
6
+ Note that these strategies are implemented from the descriptions presented
7
7
in:
8
8
9
9
Axelrod, R. (1980). Effective Choice in the Prisoner’s Dilemma.
@@ -111,7 +111,7 @@ class FirstByDowning(Player):
111
111
112
112
> "For the various lag-one matching strategies of O, the maximizing
113
113
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."
115
115
116
116
This implies that the strategy S will either always cooperate or always
117
117
defect (or be indifferent) dependent on the opponent's defining
@@ -264,7 +264,7 @@ class FirstByFeld(Player):
264
264
This strategy plays Tit For Tat, always defecting if the opponent defects but
265
265
cooperating when the opponent cooperates with a gradually decreasing probability
266
266
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
268
268
function.
269
269
270
270
This strategy came 11th in Axelrod's original tournament.
@@ -346,7 +346,7 @@ class FirstByGraaskamp(Player):
346
346
2. Defects on round 51;
347
347
3. Plays 5 further rounds of Tit For Tat;
348
348
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
350
350
squared test.
351
351
5. The strategy also checks to see if the opponent is playing Tit For Tat or
352
352
a clone of itself. If
@@ -356,7 +356,7 @@ class FirstByGraaskamp(Player):
356
356
Note that there is no information about 'Analogy' available thus Step 5 is
357
357
a "best possible" interpretation of the description in the paper.
358
358
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
360
360
be the original approach but no further details are available.
361
361
362
362
This strategy came 9th in Axelrod’s original tournament.
0 commit comments