Skip to content

Commit 436a248

Browse files
Nikoleta-v3marcharper
authored andcommitted
remove class for fool me forever player
tests are currently failing
1 parent c7fdb1c commit 436a248

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

axelrod/strategies/oncebitten.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -128,31 +128,3 @@ def strategy(self, opponent: Player) -> Action:
128128
if self.D_count > 1:
129129
return D
130130
return C
131-
132-
133-
class FoolMeForever(Player):
134-
"""
135-
Fool me once, shame on me. Teach a man to fool me and I'll be fooled for
136-
the rest of my life.
137-
138-
Names:
139-
140-
- Fool Me Forever: Original name by Marc Harper
141-
"""
142-
143-
name = "Fool Me Forever"
144-
classifier = {
145-
"memory_depth": float("inf"), # Long memory
146-
"stochastic": False,
147-
"makes_use_of": set(),
148-
"long_run_time": False,
149-
"inspects_source": False,
150-
"manipulates_source": False,
151-
"manipulates_state": False,
152-
}
153-
154-
@staticmethod
155-
def strategy(opponent: Player) -> Action:
156-
if opponent.defections > 0:
157-
return C
158-
return D

0 commit comments

Comments
 (0)