treys icon indicating copy to clipboard operation
treys copied to clipboard

A pure Python poker hand evaluation library

Results 11 treys issues
Sort by recently updated
recently updated
newest added

7642 -> 7462 poker hands

Running go.py didn't work, so I fixed the type annotations and now it works.

Hi there, your codes are great working, how can I Evaluate only in turn ? I want to get the win possibility percentage of hands with only 3 cards on...

hello, I want to know if it is possible to remove specific card from the deck. because I want to choose 2 card a the beginning of the code and...

When i run card.py it happens a TypeError. Why is this? line 33, in Card PRIMES: list[int] = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37,...

When comparing single cards, it can be helpful to compare the hashed values of two cards to each other. For instance, if I want to compare the A♠ to the...

https://i.gyazo.com/40ddf48b9a565d53d3afcc5eb639ed41.png Any idea why?

Could you have a look at my screenshot? I think the hand evaluation is wrong because that is not supposed to be straight. ![2021-01-23_4-04-45](https://user-images.githubusercontent.com/36352296/105546848-6fc61d00-5d30-11eb-8913-667aa77d1df5.jpg) ` from card import * from...

Sorry to ask this here, it's less of an issue than a request for explanation. The "Evaluator.evaluate" method contains a docstring stating that empty boards can be used, but I...