Quote:
Originally Posted by tdw1221
This might be a quite stupid question, I'm trying to make a home brewed tool for myself on Julia for poker analysis.
For comparison of two hands (each with 5 cards), one way I could think of is to obtain their rankings in all possible hands list (~2.6 million), originally I thought tools like ps-lut (from poker stove cpp) could probably give me that list however it doesn't, the thing I want would be something like:
hands rank
TcJcQcKcAc 1
TsJsQsKsAs 1
.....
2s3c5c6d7c 99924
.....
Does anyone know is there a way I could get one (I'm aware that this would be a huge list)? Thanks
This isn't exactly what you're looking for, but if you're interested in a fun programming project, implementing a hand ranker is a nice blend of interesting and challenging. Shouldn't take too long, either.