Computer Science Canada Shuffle card deck |
Author: | Naveg [ 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 |
Author: | Mr. T [ Mon Mar 21, 2005 6:36 pm ] |
Post subject: | |
Rand.int with the arrays...maybe... ![]() |
Author: | Tony [ Mon Mar 21, 2005 7:01 pm ] |
Post subject: | |
Pwned wrote: Rand.int with the arrays...maybe...
![]() that's right |
Author: | Naveg [ Mon Mar 21, 2005 7:02 pm ] |
Post subject: | |
thank you tony |
Author: | McKenzie [ Mon Mar 21, 2005 7:13 pm ] |
Post 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 |
Author: | Naveg [ Mon Mar 21, 2005 7:42 pm ] |
Post 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 ? |
Author: | Mr. T [ Mon Mar 21, 2005 7:44 pm ] |
Post subject: | |
Vladimir wrote: thank you Pwned
*cough* |
Author: | mike200015 [ Mon Mar 21, 2005 8:03 pm ] |
Post subject: | |
nice try thr ![]() |
Author: | Naveg [ Mon Mar 21, 2005 8:12 pm ] |
Post 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 |