Original Post
Hey guys, was wondering if there is a standard formula for expressing strength of a poker hand as a number within a certain range? Let's say 1.0 representing the best possible hand, and 0.0 representing the worst possible hand. For instance... 10 J Q K A = 1.0 2 3 4 5 7 = 0.0 The comparer should account for strength of pairs, kicker cards etc. So basically you can boil down any hand to a number. It would also be very helpful if the formula would accurately reflect the relative strength of the hand. Bit of background... I'm working on a small poker game in C# and am implementing IComparer for a 'Hand' Object.