Skip to content

Commit 3b3730b

Browse files
committed
Remove obsolete commented out code section in GradualKiller
1 parent 9ff5a9d commit 3b3730b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

axelrod/strategies/gradualkiller.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,6 @@ class GradualKiller(Player):
3131

3232
def strategy(self, opponent):
3333
"""This is the actual strategy"""
34-
# # First seven moves
35-
# firstseven = [D, D, D, D, D, C, C]
36-
# if len(self.history) < 7:
37-
# return firstseven[len(self.history)]
38-
# # React to the opponent's 6th and 7th moves
39-
# elif opponent.history[5:7] == [D, D]:
40-
# return D
41-
# return C
42-
43-
# if len(self.history) >= 7:
4434
if opponent.history[5:7] == [D, D]:
4535
return D
4636
return C

0 commit comments

Comments
 (0)