rundef / node-poker-odds-calculator

A pre-flop and post-flop odds calculator for Texas Holdem.
MIT License
66 stars 25 forks source link

Pocket pair and two pairs on the board #4

Closed Brandoning closed 6 years ago

Brandoning commented 6 years ago

When there's two pairs on the board, and a pocket pair of higher value it does not pick up the players pocket pair.

Instead it ranks another player with nothing as the winner.

image005

If you remove a pair from the board, the hands are then ranked correctly.

image006

I am looking in to this myself right now but would also appreciate the authors help if he still monitors this project.

rundef commented 6 years ago

Hi @Brandoning,

Thanks for reporting this bug. It is fixed in the version 0.2.1

Brandoning commented 6 years ago

Thanks for that! Works perfect