Example #1
0
        public Card playACard()
        {
            //System.Console.WriteLine(gameStrategy.Name());

            Card c = gameStrategy.getNextCard(this, hand);

            if (c == null)
            {
                c = gameStrategy.discardCard(this, hand);
                updateCoins(3);
            }
            getHand().Remove(c);
            setPlayedACard();
            return(c);
        }