isGameOver property
bool
get
isGameOver
Tests if the game is over.
Implementation
bool get isGameOver =>
isVariantEnd || isInsufficientMaterial || !hasSomeLegalMoves;
Tests if the game is over.
bool get isGameOver =>
isVariantEnd || isInsufficientMaterial || !hasSomeLegalMoves;