dechantoine's picture
Upload folder using huggingface_hub
e3868b1 verified
raw
history blame contribute delete
416 Bytes
from abc import ABC
import chess.pgn
class BaseAgent(ABC):
def __init__(self, is_white: bool) -> None:
self.is_white = is_white
def next_move(self, board: chess.Board) -> chess.Move:
pass
def evaluate_board(self, board: chess.Board) -> float:
pass
def set_color(self, is_white: bool) -> None:
self.is_white = is_white
def __str__(self) -> str:
pass