private void ShuffleDeck() { MyDeck.reset(); CardsInDeck = MyDeck.CardsLeft(); MessageBoard = ""; DealHandsButtonVisible = true; }
private void NewGame() { MyDeck.reset(); CardsInDeck = MyDeck.CardsLeft(); PlayerHand.clearHand(); DealerHand.clearHand(); ShuffleDeckButtonVisible = true; DealHandsButtonVisible = true; DealerHandValue = 0; PlayerHandValue = 0; PlayerScore = 0; DealerScore = 0; MessageBoard = ""; }