goldfire / pokersolver

Javascript poker hand solver.
MIT License
373 stars 93 forks source link

Using kickers in combinations #16

Closed EugeneButusov closed 5 years ago

EugeneButusov commented 5 years ago

First of all, thank you for making this useful module. I'm working with this product and found some interesting point:

Library returns two winners, but as we can assume, due to kicker, winner is 1st player. Is it possible to distinguish somehow community cards or hand cards to make correct output for Hand.winners method? Thanks in advance!

ericblade commented 5 years ago

This is a chop -- both players have KK99A, the Q does not play. (in Texas Hold'Em, all players play the best 5 cards available, not the best 5 cards using both hole cards)

EugeneButusov commented 5 years ago

@ericblade, thanks, you're right, my bad with game rules understanding.