Login Form






Lost Password?
No account yet? Register
Freelancer Jobs arrow Freelancer Jobs - Archive 2007
JobId: #1377596

Parse Poker HandHistory logfile for personal rake

Categories: Microsoft Windows,Database,Requirements,Operating Systems / Platforms,Internet Browser,Misc (software related),Web Services,MySQL,Other (Web),Gaming,Other (Writing),Game Development,Software Related (Includes Websites)
Posted By: Fiona23  (0 ratings)
Source: Rent-a-coder
Job viewed: 346 times
Bids Placed: 2
Start Date: 2010-03-29 17:08:44
End Date: 2010-05-12 16:45:52
Time Remaining:
Deadline: 5 days.
Current Phase: Bidding open
Max Accepted Bid: Open to fair suggestions
Project Type: Very Small Business Project: under $100(USD)
Bid Type: Open Auction
Brief Summary:

Parse HandHistory logfile for personal rake (sripting system PHP) for my poker website based on a virtual currency (chips).

There will run a daily cronjob at the end of the day: with a php file using the API system I called the LogsHandHistory file to retrieve the output of the ring games played yesterday. (script code can be sent sent to you per PM/mail)

What should be done is parsing through this output and take the rake for each hand in the ring games and then divide that evenly by all the players that were dealt cards in the hand (i.e., were not sitting out or waiting for big blind), and then for every chip "personal rake" a player should gain 1 point.
The points will be saved in a variable in my MySQL database.

Example output will look something like this:

Result=Ok
Hand #13-5 - 2010-03-27 20:40:57
Game: No Limit Hold'em (400 - 2000) - Blinds 10/20
Site: Poker4Credits.de
Table: Full Ring A
Seat 1: Admin (1031)
Seat 5: Pokerf (1191)
Seat 8: Speedy24 (757) - sitting out
Admin has the dealer button
Admin posts small blind 10
Pokerf posts big blind 20
** Hole Cards **
Admin raises to 40
Pokerf raises to 60
Admin raises to 80
Pokerf calls 20
** Flop ** [Jh 2h Jd]
Pokerf bets 20
Admin calls 20
** Turn ** [7h]
Pokerf bets 20
Admin calls 20
** River ** [3d]
Pokerf bets 20
Admin raises to 40
Pokerf calls 20
** Pot Show Down ** [Jh 2h Jd 7h 3d]
Admin shows [Jc 9d] (Three of a Kind, Jacks +97)
Pokerf shows [Th Ah] (a Flush, Ace high +JT72)
Pokerf wins Pot (311) with a Flush
Rake (9)
** Deck ** [Th Jc Ah 9d Jh 2h Jd 7h 3d]

(In this example Pokerf would gain 4.5 points and Admin would gain 4.5 points)

software:
I am using the Poker Mavens software (http://www.briggsoft.com/pmavens.htm)

API information:
http://www.briggsoft.com/docs/pmavens/Technical_Interface.htm
http://www.briggsoft.com/docs/pmavens/API_Examples.htm