Beispiel #1
0
 public void Play(Action action)
 {
     if (action == Action.Hit)
     {
         Dealer.DealCard(Player);
     }
     else if (action == Action.Stick)
     {
         Dealer.DealCard(Dealer);
     }
 }
Beispiel #2
0
 private void StartGame()
 {
     Dealer.DealCard(Player, 2);
     Dealer.DealCard(Dealer, 2);
 }