Source code for chipiron.environments.chess_env.move.imove

from abc import abstractmethod
from typing import Protocol

from .utils import moveUci

# numbering scheme for actions in the node of the trees
moveKey = int


[docs]class IMove(Protocol):
[docs] @abstractmethod def uci(self) -> moveUci: ...