Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Shuffle card deck
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Naveg




PostPosted: Mon Mar 21, 2005 6:32 pm   Post subject: Shuffle card deck

I remember seeing this in a post yesterday, but being irresponsible as i am didnt mark the page, and cant seem to find it in seach now...can anyone point me in the right direction? thanks
Sponsor
Sponsor
Sponsor
sponsor
Mr. T




PostPosted: Mon Mar 21, 2005 6:36 pm   Post subject: (No subject)

Rand.int with the arrays...maybe... Rolling Eyes
Tony




PostPosted: Mon Mar 21, 2005 7:01 pm   Post subject: (No subject)

Pwned wrote:
Rand.int with the arrays...maybe... Rolling Eyes

that's right
Naveg




PostPosted: Mon Mar 21, 2005 7:02 pm   Post subject: (No subject)

thank you tony
McKenzie




PostPosted: Mon Mar 21, 2005 7:13 pm   Post subject: (No subject)

Ahh, good times Tony. I never realized you made a last response to that post. Anyways Poland13 uses a better algorithm, it's the one that Java uses for it's shuffle algorithm.
http://www.compsci.ca/v2/viewtopic.php?p=23530
Naveg




PostPosted: Mon Mar 21, 2005 7:42 pm   Post subject: (No subject)

McKenzie wrote:
Ahh, good times Tony. I never realized you made a last response to that post. Anyways Poland13 uses a better algorithm, it's the one that Java uses for it's shuffle algorithm.
http://www.compsci.ca/v2/viewtopic.php?p=23530


how would i use that method if i have a 2D array (1..4,1..13) instead of an array 1..52 ?
Mr. T




PostPosted: Mon Mar 21, 2005 7:44 pm   Post subject: (No subject)

Vladimir wrote:
thank you Pwned

*cough*
mike200015




PostPosted: Mon Mar 21, 2005 8:03 pm   Post subject: (No subject)

nice try thr Razz
Sponsor
Sponsor
Sponsor
sponsor
Naveg




PostPosted: Mon Mar 21, 2005 8:12 pm   Post subject: (No subject)

whats with you two spamming for bits? cut it out, if you dont have anything helpful to say go post in the spam section
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 9 Posts ]
Jump to:   


Style:  
Search: