Exemplo n.º 1
0
        public bool Hit(Player a_player, bool show)
        {
            Card c = m_deck.GetCard();

            a_player.insertCard(c, show);

            return(false);
        }
Exemplo n.º 2
0
        public bool Hit(Player a_player)
        {
            if (m_deck != null && a_player.CalcScore() < g_maxScore && !IsGameOver(a_player))
            {
                Card c = m_deck.GetCard();
                a_player.insertCard(c);

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