16 lines
282 B
Python
16 lines
282 B
Python
from abc import ABC, abstractmethod
|
|
|
|
import chess
|
|
|
|
|
|
# TODO extend class
|
|
class IStrategy(ABC):
|
|
|
|
@abstractmethod
|
|
def pick_next_move(self, board: chess.Board) -> chess.Move:
|
|
pass
|
|
|
|
@abstractmethod
|
|
def analyze_board(self, board: chess.Board) -> int:
|
|
pass
|