Skip to content

Commit f0bc91e

Browse files
gaffney2010drvinceknight
authored andcommitted
Fix makes_use_of on MindReader
1 parent d608fdd commit f0bc91e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

axelrod/strategies/mindreader.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class MindReader(Player):
2323
classifier = {
2424
"memory_depth": float("inf"),
2525
"stochastic": False,
26-
"makes_use_of": set(),
26+
"makes_use_of": {"game"},
2727
"long_run_time": False,
2828
"inspects_source": True, # Finds out what opponent will do
2929
"manipulates_source": False,
@@ -61,7 +61,7 @@ class ProtectedMindReader(MindReader):
6161
classifier = {
6262
"memory_depth": float("inf"),
6363
"stochastic": False,
64-
"makes_use_of": set(),
64+
"makes_use_of": {"game"},
6565
"long_run_time": False,
6666
"inspects_source": True, # Finds out what opponent will do
6767
"manipulates_source": True, # Stops opponent's strategy
@@ -91,7 +91,7 @@ class MirrorMindReader(ProtectedMindReader):
9191
classifier = {
9292
"memory_depth": float("inf"),
9393
"stochastic": False,
94-
"makes_use_of": set(),
94+
"makes_use_of": {"game"},
9595
"long_run_time": False,
9696
"inspects_source": True, # Reads and copies the source of the opponent
9797
"manipulates_source": True, # Changes own source dynamically

axelrod/tests/strategies/test_mindreader.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TestMindReader(TestPlayer):
1515
expected_classifier = {
1616
"memory_depth": float("inf"),
1717
"stochastic": False,
18-
"makes_use_of": set(),
18+
"makes_use_of": {"game"},
1919
"long_run_time": False,
2020
"inspects_source": True,
2121
"manipulates_source": False,
@@ -101,7 +101,7 @@ class TestProtectedMindReader(TestPlayer):
101101
expected_classifier = {
102102
"memory_depth": float("inf"),
103103
"stochastic": False,
104-
"makes_use_of": set(),
104+
"makes_use_of": {"game"},
105105
"long_run_time": False,
106106
"inspects_source": True, # Finds out what opponent will do
107107
"manipulates_source": True, # Stops opponent's strategy
@@ -145,7 +145,7 @@ class TestMirrorMindReader(TestPlayer):
145145
expected_classifier = {
146146
"memory_depth": float("inf"),
147147
"stochastic": False,
148-
"makes_use_of": set(),
148+
"makes_use_of": {"game"},
149149
"long_run_time": False,
150150
"inspects_source": True, # reading and copying the source of the component
151151
"manipulates_source": True, # changing own source dynamically

0 commit comments

Comments
 (0)