Exemplo n.º 1
0
 protected override void Deal()
 {
     foreach (BlackjackPlayer player in playerGroup)
     {
         player.AddCards((Card)st.Dequeue());
         player.AddCards((Card)st.Dequeue());
         player.CardsValue = CalcCards(player.ReturnCards());
     }
     dealer.AddCards((Card)st.Dequeue());
     dealer.AddCards((Card)st.Dequeue());
     dealer.CardsValue = CalcCards(dealer.ReturnCards());
 }
Exemplo n.º 2
0
 private void Hit(BlackjackDealer bp)
 {
     bp.AddCards((Card)st.Dequeue());
     bp.CardsValue = CalcCards(bp.ReturnCards());
 }