Older Contests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsOlder Contests

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old August 27th, 2002, 05:34 PM
happylight happylight is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 11 happylight User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to happylight
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?

Reply With Quote
  #2  
Old August 27th, 2002, 05:42 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: 5 deck poker

The only available scoring is what is listed.....

Reply With Quote
  #3  
Old August 27th, 2002, 06:02 PM
happylight happylight is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 11 happylight User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to happylight
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);
?>

Reply With Quote
  #4  
Old September 3rd, 2002, 12:06 PM
DevlshOne DevlshOne is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Missouri, USA
Posts: 30 DevlshOne User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: 5 deck poker

FYI...the input.txt creator (above) works best if run with an include statement in your poker.php file.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > 5 deck poker


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT