|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
5 deck poker
its 5 decks shuffled together...
so if i get AS AS AS AS AS? 5 of a kind? Can i get 1000 points for that? |
|
#2
|
|||
|
|||
|
RE: 5 deck poker
The only available scoring is what is listed.....
|
|
#3
|
|||
|
|||
|
RE: 5 deck poker
ok thanks matt
here's some code for generating sample input.txt <?php $a = array(); $b = "23456789TJQKA"; $c = "CDHS"; for($x=0; $x<5; $x++) for($y=0; $y<13; $y++) for($z=0; $z<4; $z++) $a[] = $b[$y] . $c[$z]; srand((float) microtime() * 1000000); for($x=0; $x<10; $x++) shuffle($a); $d = fopen("input.txt", "w"); for($x=0; $x<count($a); $x++) fputs($d, $a[$x] . "n"); fclose($d); ?> |
|
#4
|
|||
|
|||
|
RE: 5 deck poker
FYI...the input.txt creator (above) works best if run with an include statement in your poker.php file.
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > 5 deck poker |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|