示例#1
0
        public void GamePlayQuestion()
        {
            string cardRange = (hand.PlayerHandSize() - 1).ToString();

            if (hand.PlayerHandSize() > 1)
            {
                hand.PrintPlayerHand();
                Console.Write($"Which card do you want to play? (0-{cardRange}): ");
            }
            else if (hand.PlayerHandSize() == 1)
            {
                hand.PrintPlayerHand();
                Console.Write($"Last card to play! (0): ");
            }
        }