Exception End If IncrementNumCellsUncovered() ' If its a bomb, tell host the player lost If mMineArray(row, col).isBomb Then mOutputInterface.EndGame(False) Return True 'If you cleared everything except the bombs, ' tell host the player won ElseIf AllEmptyCellsUncovered() Then ' mOutputInterface.EndGame(True) Return True End If End If Return False End Function 'Toggle cell between Covered and Mark