uoftcprg / pokerkit

An open-source Python library for poker game simulations, hand evaluations, and statistical analysis
https://pokerkit.readthedocs.io/
MIT License
247 stars 29 forks source link

Dataset in this repository #6

Closed zzzjoey closed 8 months ago

zzzjoey commented 8 months ago

Thanks for your excellent open-source work! I notice that there are wsop and pluribus hand history in the data folder. How can I browse or use these files? Thank you for your reply.

AussieSeaweed commented 8 months ago

Hi, thank you for your interest!

For now, please take a look at the "Tooling" section of the PHH File Format Specification for example usages. It explains how to parse the files and go through each action using the PokerKit package.

There is no easy way to visualize the states though. You will have to print the values you are interested in to stdout or write a GUI for it.

I plan on overhauling the documentation to comprehensively include all the features of PokerKit, when I have the time. Also, I am thinking of making a tool named felt to visualize poker games, but that is a work in progress.