Completed

PHP function for poker odds

This project was successfully completed by Dimplexion for £50 GBP in 2 days.

Get free quotes for a project like this
Employer working
Completed by:
Skills Required
Project Budget
£20 - £250 GBP
Completed In
2 days
Total Bids
3
Project Description

I need a PHP function that will return the odds of winning for each card like this "[url removed, login to view]".
Keep in mind that the link above uses a c++ open libray which means that if you know c++ u can just transalte it to php.
The function will have 4 inputs:
-The number of players(1-12)
-An array with all player cards like this [10_s , 9_h , 3_d , A_c] ,Which means that the first player has 10 of spades with 9 of hearts and the second player will has 3 of diamonds with Ace of [url removed, login to view] means that the array will have 2 times the number of players as length.
-An array of table cards with length 0-5 .The function must work with or without table cards so this array could be empty.
-An array with burned cards . The function must work with or without this too so this array could be empty.

The function will return an array with the winning , tie for each players .Which means that the array will have 2 times the number of players as length.
No graphics or interface needed just the php function.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online