public void CalculateWinner(Player lpl) { switch (_gameType) { case GameType.HighestWin: if (lpl.ValueOfHand() > WinnerPoints) { WinnerPoints = lpl.ValueOfHand(); WinnerName = lpl.Name; } break; case GameType.LowestWin: if (_helpVar == false) { _helpVar = true; WinnerPoints = lpl.ValueOfHand(); WinnerName = lpl.Name; } if (lpl.ValueOfHand() < WinnerPoints) { WinnerPoints = lpl.ValueOfHand(); WinnerName = lpl.Name; } break; } }