Beispiel #1
0
        public void Take()
        {
            GameDurak.PlayersThrowOutCards();
            Game.counter++;

            foreach (var pairCards in Game.CardsPairsOnTable)
            {
                if (!(pairCards.LessCard is null))
                {
                    Hand.Add(pairCards.LessCard);
                }
                if (!(pairCards.LargerCard is null))
                {
                    Hand.Add(pairCards.LargerCard);
                }
            }

            Game.CardsPairsOnTable.Clear();
        }