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.
1 parent 3eeec92 commit cf50611Copy full SHA for cf50611
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