Käynnissä

PHP function for poker odds

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.

Taidot: C-ohjelmointi, PHP

Näytä lisää: 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

About the Employer:
( 1 review ) Níkaia, Greece

Projektin tunnus: #4285649

Myönnetty käyttäjälle:

Dimplexion

Hey! Please check your inbox.

50 £ GBP 2 päivässä
(0 arvostelua)
0.0

3 freelanceria on tarjonnut keskimäärin 133 £ tähän työhön

signo

Please check private message

200 £ GBP 2 päivässä
(119 arvostelua)
6.3
lazorelent

I am new to [url removed, login to view] 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 Lisää

150 £ GBP 4 päivässä
(0 arvostelua)
0.0