Beispiel #1
0
 public Hand()
 {
     Cards = new List<Card>();
     Straight = false;
     Flush = false;
     Groupings = new Card[][] {null};
 }
Beispiel #2
0
        public void AddCard(string cardVal)
        {
            var card = new Card();

            card.Read(cardVal);

            if (card.IsValid())
            {
                Cards.Add(card);
            }
        }
Beispiel #3
0
 public void SetUp()
 {
     _card = new Card();
 }