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 a9b9556 commit b7ff5c6Copy full SHA for b7ff5c6
axelrod/strategies/titfortat.py
@@ -447,6 +447,7 @@ def strategy(self, opponent: Player) -> Action:
447
448
return C
449
450
+
451
class Gradual(Player):
452
"""
453
Similar to OriginalGradual, this is a player that punishes defections with a
@@ -493,7 +494,6 @@ def strategy(self, opponent: Player) -> Action:
493
494
if len(self.history) == 0:
495
496
-
497
if self.punish_count > 0:
498
self.punish_count -= 1
499
return D
@@ -509,7 +509,6 @@ def strategy(self, opponent: Player) -> Action:
509
510
511
512
513
@TrackHistoryTransformer(name_prefix=None)
514
class ContriteTitForTat(Player):
515
0 commit comments