how make best hand of the day?
how make best hand of the day?
hi kent how i can make log best hand in day for show player in my site?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: how make best hand of the day?
You would need to write code that parsed through all your hand history files for the day and looked at the lines with " shows " in them like this:fafafa wrote:hi kent how i can make log best hand in day for show player in my site?
player1 shows [8d 6d] (Two Pair, Eights and Sixes +A)
player2 shows [Tc Qs] (a Pair of Deuces +AQT)
Then pull out the part in parenthesis and look for the largest one:
a Royal Flush
a Straight Flush
Four of a Kind
a Full House
a Flush
a Straight
Three of a Kind
Two Pair
a Pair
High Card