Beispiel #1
0
 private void PlayTenOr4OfSameRank(IEnumerable <Card> cards)
 {
     ClearedCards.AddRange(PickUpPack);
     PickUpPack.Clear();
     foreach (Card card in cards)
     {
         RemoveCardFromHand(card);
         ClearedCards.Add(card);
     }
 }
Beispiel #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();
        }
Beispiel #3
0
 private void PickEmUp()
 {
     CurrentPlayer.Hand.InHandCards.AddRange(PickUpPack);
     PickUpPack.Clear();
 }