goldfire / pokersolver

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

10's coming out as 10's without suit #12

Closed terhoraj closed 6 years ago

terhoraj commented 6 years ago

I hope I am not doing anything wrong here but looks like all 10's comes out without suit when I use poker solver solve method and return cards from that object. Everything else works, see example picture:

image

this should have come out as 10h, 10s

goldfire commented 6 years ago

What data are you passing into the solve method?

terhoraj commented 6 years ago

Oh crap I feel so idiot. I passed in 10h for example not as Th

Noticed it now from your example: image

Sorry that I wasted your time.

goldfire commented 6 years ago

Not a problem! I need to update the docs to make that more clear.