Find Jobs
Hire Freelancers

PHP String Functions: Parse Poker HandHistory output

$100-500 USD

Cancelled
Posted about 14 years ago

$100-500 USD

Paid on delivery
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: [login to view URL] 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 (<[login to view URL]>) API information: <[login to view URL]> <[login to view URL]>
Project ID: 3303413

About the project

3 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average $156 USD for this job
User Avatar
See private message.
$85 USD in 10 days
4.8 (55 reviews)
6.8
6.8
User Avatar
See private message.
$170 USD in 10 days
3.9 (14 reviews)
4.5
4.5
User Avatar
See private message.
$212.50 USD in 10 days
0.0 (0 reviews)
2.5
2.5

About the client

Flag of GERMANY
Germany
0.0
0
Member since Mar 28, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.