예제 #1
0
        private int GetHandValue(Model.Hand hand)
        {
            int i = 0;

            foreach (Model.Card c in hand.Cards)
            {
                hand.AddValue(c, ref i);
            }
            return(i);
        }
예제 #2
0
 private void Hit(StackPanel field, Model.Hand hand)
 {
     AddCardVisual(field, deck.DrawCard(hand));
 }