Posted: 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
Mr. T
Posted: Mon Mar 21, 2005 6:36 pm Post subject: (No subject)
Rand.int with the arrays...maybe...
Tony
Posted: Mon Mar 21, 2005 7:01 pm Post subject: (No subject)
Posted: Mon Mar 21, 2005 7:02 pm Post subject: (No subject)
thank you tony
McKenzie
Posted: 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
Posted: 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
Posted: Mon Mar 21, 2005 7:44 pm Post subject: (No subject)
Vladimir wrote:
thank you Pwned
*cough*
mike200015
Posted: Mon Mar 21, 2005 8:03 pm Post subject: (No subject)
nice try thr
Sponsor Sponsor
Naveg
Posted: 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