Best Hand Of The Day?

For discussion of the Poker Mavens server module and other administration topics
Post Reply
fafafa
Posts: 41
Joined: Thu Feb 23, 2012 10:01 am

Best Hand Of The Day?

Post by fafafa »

hi kent how convert hand history API to php and graphic can u give me example? tnx
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Best Hand Of The Day?

Post by Kent Briggs »

fafafa wrote:hi kent how convert hand history API to php and graphic can u give me example? tnx
I don't have any code examples of that but what you would need to do is parse through the history files looking for lines like these:

Code: Select all

** Pot Show Down ** [5s Th Ah Qs 4c]
pm1 shows [Jc 4d] (a Pair of Fours +AQJ)
pm2 shows [Ts 6h] (a Pair of Tens +AQ6)
pm2 wins Pot (3000) with a Pair
and then pull out the hand value and compare to other hands seen so far.
Post Reply