isGameOver property

bool isGameOver

Returns whether the game is over or not.

Implementation

bool get isGameOver => _gameStatus == GameStatus.draw || blackWon || whiteWon;