Skip to content

Commit d26767a

Browse files
kjurgielajtismarcharper
authored andcommitted
Changed comments
1 parent 21bb19e commit d26767a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

axelrod/strategies/axelrod_first.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,9 @@ def __init__(self, alpha: float = 0.05) -> None:
253253
def strategy(self, opponent: Player) -> Action:
254254
"""This is the actual strategy"""
255255
# First move
256-
# Cooperate in first round as in Tit for Tat strategy
257256
if not self.history:
258257
return C
259-
# Copy opponent's last move as in Tit for Tat strategy
258+
# React to the opponent's last move
260259
if len(self.history) <= 56:
261260
if opponent.history[-1] == D or len(self.history) == 51:
262261
return D

0 commit comments

Comments
 (0)