Exemplo n.º 1
0
        public Card draw(Deck playerDeck)
        {
            Card addHand = playerDeck.TopMost();

            hand.Add(addHand);
            Console.WriteLine("++++++++++++++++++++++++++++");
            foreach (Card singleCard in hand)
            {
                Console.WriteLine($"FACE: {singleCard.stringVal}");
                Console.WriteLine($"SUIT: {singleCard.suit}");
                Console.WriteLine($"VALUE: {singleCard.val}");
                Console.WriteLine("*************************");
            }
            return(addHand);
        }