isStalemate property
bool
get
isStalemate
Tests for stalemate.
Implementation
bool get isStalemate =>
!isVariantEnd && checkers.isEmpty && !hasSomeLegalMoves;
Tests for stalemate.
bool get isStalemate =>
!isVariantEnd && checkers.isEmpty && !hasSomeLegalMoves;