canUndo property

bool canUndo

Is there is a move that can be undone?

Implementation

bool get canUndo => _gameHistory.length > 0 && !isGameOver;