goldfire / pokersolver

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

Straight not evaluated correctly. #21

Closed shubham1501 closed 4 years ago

shubham1501 commented 4 years ago

For the statement, console.log("output", Hand.solve([ 'Ts', 'Qh', '7c', '8s', '9s'])), it is returning me High Card, and expected result is Straight.

shubham1501 commented 4 years ago

Actually, It is correct. My bad.