Exemple #1
0
 private void btnDeal_Click(object sender, EventArgs e)
 {
     state = 0;
     interpret_state();
     player1.placeBet(5);
     deal_cards();
     lblPCount.Text = player1.money.ToString();
     if (player.getValue() == 21)
     {
         state = 3;
     }
     else
     {
         state = 1;
     }
     interpret_state();
 }