Esempio n. 1
0
 private void dealButton_Click(object sender, EventArgs e)
 {
     deck.PlayerDeal(player);
     deck.DealerDeal(dealer);
     label1.Text = "Player Hand Value: " + player.Hand1Value().ToString();
     label2.Text = "Dealer Hand Value: " + dealer.HandValue().ToString();
     label3.Text = "Player Hand: " + player.ShowHand1();
     label4.Text = "Dealer Hand: " + dealer.ShowHand();
     startFirstRound();
 }