chessmaker.chess.base.game
[view_source]
AfterGameEndEvent
@dataclass(frozen=True)
class AfterGameEndEvent(Event)
[view_source]
game: "Game"
[view_source]
result: str
[view_source]
Game
@event_publisher(AfterGameEndEvent)
class Game(EventPublisher)
[view_source]
__init__
def __init__(board: Board, get_result: Callable[[Board], str | None])
[view_source]