Quote:
Originally Posted by blackmonsters
Googling poker hands and their value would be a normal thought process.

|
I would think I'd have to split everything up. For instance let's say they players hand is "3C 4D 3S TC KD".
I would have then have to break down each card into value and suit. I'd also have to break down each card in the players hand.
Xn1 = 3 ; Xs1 = C
Xn2 = 4 ; Xs2 = D
Xn3 = 3 ; Xs3 = S
Xn4 = T ; Xs4 = C
Xn5 = K ; Xs5 = D
Then I'd have to compare Xn1 to Xn2,3,4,5. Xn2 to Xn3,4,5. Xn3 to Xn4,5. Xn4 to Xn5.
For each Xn that matches another variable, N, would increment telling the # "of a kind".
Likewise a flush would be easy to tell if comparing all the Xs and S = 5.
This seems easy enough but more complicated when I try to think through for a straight or full house or two pair.
Also what do you mean by googling poker hands and their value?