goldfire / pokersolver

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

Straight not evaluated properly #8

Closed nickpersad closed 7 years ago

nickpersad commented 7 years ago

Board: 10s Jd Qc 6d 5c Hand1: 9h Ks Hand2: 9s Ah

Expected result: Hand1 wins, Straight Actual result: Hand2 wins. A high

goldfire commented 7 years ago

The 10's should be passed as T and it will work:

Board: Ts Jd Qc 6d 5c