chenosaurus / poker-evaluator

poker hand evaluator
248 stars 58 forks source link

Incorrect rankings? #18

Closed ghost closed 7 years ago

ghost commented 7 years ago

Shouldn't an Ace high straight flush be the highest ranking hand in poker? But it seems you have it ranked 10th. I did some checking and a 5 high straight flush is the number 1 hand. Am I mis-interrupting the rankings?

ghost commented 7 years ago

Actually I misunderstood the rankings. The higher rank is better within a given "type" of hand. Such that a 5 high straight flush is ranked 1 as is the bottom full house 22233.