aboutsummaryrefslogtreecommitdiff
path: root/imago/engine/monteCarlo.py
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2023-01-11 19:20:06 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2023-01-11 19:20:06 +0100
commit80c4cca827ff80c0508c27cd9b6a37ffa2ea17e5 (patch)
tree95bb1bbad5fb44f4025d8a9f69ed8163ce42fa46 /imago/engine/monteCarlo.py
parent824d5e3b6954407a694f5739cbeb40f66324c8d7 (diff)
downloadimago-80c4cca827ff80c0508c27cd9b6a37ffa2ea17e5.tar.gz
imago-80c4cca827ff80c0508c27cd9b6a37ffa2ea17e5.zip
100% coverage on imagoIO module.
Diffstat (limited to 'imago/engine/monteCarlo.py')
-rw-r--r--imago/engine/monteCarlo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/imago/engine/monteCarlo.py b/imago/engine/monteCarlo.py
index f4712e6..ee8380a 100644
--- a/imago/engine/monteCarlo.py
+++ b/imago/engine/monteCarlo.py
@@ -15,7 +15,7 @@ class MCTS(DecisionAlgorithm):
self.simulationsPerExpansion = 10
self.debug = False
- def forceNextMove(self, coords):
+ def forceNextMove(self, coords: tuple):
"""Selects given move as next move."""
for node in self.root.children:
if (node.move.isPass and coords == "pass" or