Update MCTS to change color for children

This commit is contained in:
2024-01-31 17:39:08 +01:00
parent b6bb61ec45
commit 793d83b943
3 changed files with 9 additions and 9 deletions

View File

@@ -40,13 +40,13 @@ class IMcts(ABC):
"""
pass
@abstractmethod
def get_moves(self) -> Dict[chess.Move, int]:
"""
Return all legal moves from this node with respective scores
:return: dictionary with moves as key and scores as values
"""
pass
#@abstractmethod
#def get_moves(self) -> Dict[chess.Move, int]:
# """
# Return all legal moves from this node with respective scores
# :return: dictionary with moves as key and scores as values
# """
# pass
"""
TODO: add score class: