added engine class and simulate_game function

This commit is contained in:
2024-01-27 17:31:02 +01:00
parent 662da27f72
commit 42fbf374c6
5 changed files with 157 additions and 85 deletions

View File

@@ -27,7 +27,7 @@ class IMcts(ABC):
pass
@abstractmethod
def get_children(self) -> list['Mcts']:
def get_children(self) -> list['IMcts']:
"""
Return the immediate children of the root node
:return: list of immediate children of mcts root