isGameOver property
bool
isGameOver
Returns whether the game is over or not.
Implementation
bool get isGameOver => _gameStatus == GameStatus.draw || blackWon || whiteWon;
Returns whether the game is over or not.
bool get isGameOver => _gameStatus == GameStatus.draw || blackWon || whiteWon;