We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3eeec92 + cf50611 commit d0c3679Copy full SHA for d0c3679
axelrod/strategies/grudger.py
@@ -6,6 +6,7 @@ class Grudger(Player):
6
"""
7
def strategy(self, opponent):
8
9
+ Begins by playing C, then plays D for the remaining rounds if the opponent ever plays D
10
11
if 'D' in opponent.history:
12
return 'D'
0 commit comments