added engine factory and adapted command line parsing, added lc0_strategy.py, added stockfish and lc0 standalone engines
This commit is contained in:
@@ -5,7 +5,8 @@ from chesspp.eval import score_manual
|
||||
|
||||
|
||||
class RandomStrategy(IStrategy):
|
||||
def __init__(self, random_state: random.Random):
|
||||
def __init__(self, random_state: random.Random, rollout_depth: int = 4):
|
||||
super().__init__(rollout_depth)
|
||||
self.random_state = random_state
|
||||
|
||||
def pick_next_move(self, board: chess.Board) -> chess.Move | None:
|
||||
|
||||
Reference in New Issue
Block a user