Skip to content

Commit bbd176f

Browse files
kjurgielajtismarcharper
authored andcommitted
Changed docstring
1 parent b25d539 commit bbd176f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

axelrod/strategies/axelrod_first.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ def strategy(self, opponent: Player) -> Action:
208208

209209
class Graaskamp(Player):
210210
"""
211+
212+
This is one of the strategies from Robert Axelrod's first tournament and is described in the literature as:
213+
214+
This strategy came 9th in Axelrod’s original tournament.
215+
211216
This strategy follows the following rules:
212217
213218
1. Plays Tit For Tat for the first 50 rounds;
@@ -219,8 +224,6 @@ class Graaskamp(Player):
219224
tournament called ‘Analogy’ (There is no information about 'Analogy' tournament. Step 5 is not implemented fully.)
220225
If so it plays Tit For Tat. If not it cooperates and randomly defects every 5 to 15 moves.
221226
222-
This strategy came 9th in Axelrod’s original tournament.
223-
224227
Names:
225228
226229
- Graaskamp: [Axelrod1980]_

0 commit comments

Comments
 (0)