Beispiel #1
0
        public bool HiddenHit(Player player)
        {
            Card c;

            c = m_deck.GetCard();
            player.showAndAdd(c, false);
            return(false);
        }
Beispiel #2
0
        public bool Hit(Player a_player)
        {
            if (m_deck != null && a_player.CalcScore() < g_maxScore && !IsGameOver())
            {
                Card c = m_deck.GetCard();
                a_player.showAndAdd(c, true);

                return(true);
            }
            return(false);
        }