Example #1
0
 private void DealerTurn()
 {
     Message.DisplayHand(Dealer);
     while (DealerShouldHit())
     {
         Thread.Sleep(DealerHitDelay);
         Dealer.Hit(Deck);
         Message.DisplayDraw(Dealer);
         if (Dealer.CheckBust())
         {
             return;
         }
         Message.DisplayHand(Dealer);
     }
 }