PHP function for poker odds

In Progress

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.

Skills: C Programming, PHP

See more: php poker, php function for, number function, mind array, function number, programming php, php function , ace of, php table array, cards ace, card poker programming, poker cards graphics, odds poker, interface poker, open table interface, programming poker odds, poker cards, spades, player poker, ace spades, interface needed net, poker net, transalte, poker player, poker odds

Project ID: #4285649

Awarded to:

Dimplexion

Hey! Please check your inbox.

£50 GBP in 2 days
(0 Reviews)
0.0

3 freelancers are bidding on average £133 for this job

signo

Please check private message

£200 GBP in 2 days
(119 Reviews)
6.3
lazorelent

I am new to Freelancer.com but have plenty of experience writing PHP scripts to integrate multiple sets of data and produce accurate results. I also know C++ so I should be able to expedite development by referring to More

£150 GBP in 4 days
(0 Reviews)
0.0