Example #1
0
 private void PlayTenOr4OfSameRank(IEnumerable <Card> cards)
 {
     ClearedCards.AddRange(PickUpPack);
     PickUpPack.Clear();
     foreach (Card card in cards)
     {
         RemoveCardFromHand(card);
         ClearedCards.Add(card);
     }
 }
Example #2
0
        private void PlayThree(IEnumerable <Card> cards)
        {
            foreach (Card card in cards)
            {
                RemoveCardFromHand(card);
                ClearedCards.Add(card);
            }

            var nextPlayer = GetNextPlayer();

            nextPlayer.Hand.InHandCards.AddRange(PickUpPack);
            PickUpPack.Clear();
        }
Example #3
0
 private void PickEmUp()
 {
     CurrentPlayer.Hand.InHandCards.AddRange(PickUpPack);
     PickUpPack.Clear();
 }