Returns a list with the invalid positions of the board.
List<({int row, int col})> get invalidPositions => _getInvalidPositions();