isEmpty property

bool isEmpty

Returns whether the GameBoard is empty

Implementation

bool get isEmpty =>
    boardPieces.isEmpty &&
    sentePiecesInHand.isEmpty &&
    gotePiecesInHand.isEmpty;