public void NextGame() { GameMode = Results.Bet; PlayerHand.Clear(); DealerHand.Clear(); PlayerScore = 0; DealerScore = 0; _playerAces = 0; _dealerAces = 0; Bet = 0; PullPlayerCard(); PullDealerCard(); PullDealerCard(); //Check if player has blackjack if (PlayerScore == 21) { Blackjack(); } //Check if insurance applies if (DealerScore == 11) { InsuranceBet(); } }
public void NewGame() { EndVisible = false; _hold = false; DealerHand.Clear(); PlayerHand.Clear(); DealerHand.Add(PullCard()); PlayerHand.Add(PullCard()); UpdateScores(); }