
-----------------------------------
Naveg
Mon Mar 21, 2005 6:32 pm

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

-----------------------------------
Mr. T
Mon Mar 21, 2005 6:36 pm


-----------------------------------
Rand.int with the arrays...maybe... :roll:

-----------------------------------
Tony
Mon Mar 21, 2005 7:01 pm


-----------------------------------
Rand.int with the arrays...maybe... :roll:
[url=http://www.compsci.ca/v2/viewtopic.php?t=2184]that's right

-----------------------------------
Naveg
Mon Mar 21, 2005 7:02 pm


-----------------------------------
thank you tony

-----------------------------------
McKenzie
Mon Mar 21, 2005 7:13 pm


-----------------------------------
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
Mon Mar 21, 2005 7:42 pm


-----------------------------------
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.


how would i use that method if i have a 2D array (1..4,1..13) instead of an array 1..52 ?

-----------------------------------
Mr. T
Mon Mar 21, 2005 7:44 pm


-----------------------------------
thank you Pwned
*cough*

-----------------------------------
mike200015
Mon Mar 21, 2005 8:03 pm


-----------------------------------
nice try thr  :P

-----------------------------------
Naveg
Mon Mar 21, 2005 8:12 pm


-----------------------------------
whats with you two spamming for bits? cut it out, if you dont have anything helpful to say go post in the spam section
