diff --git a/axelrod/data/all_classifiers.yml b/axelrod/data/all_classifiers.yml index 32d004187..870322292 100644 --- a/axelrod/data/all_classifiers.yml +++ b/axelrod/data/all_classifiers.yml @@ -1087,7 +1087,8 @@ Mind Controller: Mind Reader: inspects_source: true long_run_time: false - makes_use_of: !!set {} + makes_use_of: !!set + game: null manipulates_source: false manipulates_state: false memory_depth: .inf @@ -1295,7 +1296,8 @@ Prober 4: Protected Mind Reader: inspects_source: true long_run_time: false - makes_use_of: !!set {} + makes_use_of: !!set + game: null manipulates_source: true manipulates_state: false memory_depth: .inf diff --git a/axelrod/strategies/mindreader.py b/axelrod/strategies/mindreader.py index 723f503bf..dd6c64269 100644 --- a/axelrod/strategies/mindreader.py +++ b/axelrod/strategies/mindreader.py @@ -23,7 +23,7 @@ class MindReader(Player): classifier = { "memory_depth": float("inf"), "stochastic": False, - "makes_use_of": set(), + "makes_use_of": {"game"}, "long_run_time": False, "inspects_source": True, # Finds out what opponent will do "manipulates_source": False, @@ -61,7 +61,7 @@ class ProtectedMindReader(MindReader): classifier = { "memory_depth": float("inf"), "stochastic": False, - "makes_use_of": set(), + "makes_use_of": {"game"}, "long_run_time": False, "inspects_source": True, # Finds out what opponent will do "manipulates_source": True, # Stops opponent's strategy diff --git a/axelrod/tests/strategies/test_mindreader.py b/axelrod/tests/strategies/test_mindreader.py index ffd996022..21a78ec6a 100644 --- a/axelrod/tests/strategies/test_mindreader.py +++ b/axelrod/tests/strategies/test_mindreader.py @@ -15,7 +15,7 @@ class TestMindReader(TestPlayer): expected_classifier = { "memory_depth": float("inf"), "stochastic": False, - "makes_use_of": set(), + "makes_use_of": {"game"}, "long_run_time": False, "inspects_source": True, "manipulates_source": False, @@ -101,7 +101,7 @@ class TestProtectedMindReader(TestPlayer): expected_classifier = { "memory_depth": float("inf"), "stochastic": False, - "makes_use_of": set(), + "makes_use_of": {"game"}, "long_run_time": False, "inspects_source": True, # Finds out what opponent will do "manipulates_source": True, # Stops opponent's strategy