added engine factory and adapted command line parsing, added lc0_strategy.py, added stockfish and lc0 standalone engines
This commit is contained in:
@@ -3,8 +3,11 @@ from abc import ABC, abstractmethod
|
||||
import chess
|
||||
|
||||
|
||||
# TODO extend class
|
||||
class IStrategy(ABC):
|
||||
rollout_depth: int
|
||||
|
||||
def __init__(self, rollout_depth: int = 4):
|
||||
self.rollout_depth = rollout_depth
|
||||
|
||||
@abstractmethod
|
||||
def pick_next_move(self, board: chess.Board) -> chess.Move:
|
||||
|
||||
Reference in New Issue
Block a user