Exemple #1
0
 public HandRanker(Card[] sortedHand)
 {
     heartsSum  = 0;
     diamondSum = 0;
     clubSum    = 0;
     spadesSum  = 0;
     cards      = new Card[5];
     Cards      = sortedHand;
     handValue  = new HandValue();
 }
Exemple #2
0
        private HandValue GetHandValue()
        {
            HandValue handValue = new HandValue(hand);

            return(handValue);
        }