View Single Post
Old Oct 31st, 2005, 8:09 AM   #5
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
Wow. Arevos thats great!
Thats the exact response i was looking for thanks.

One main thing that got me, was the fact that i didn't think about actually shuffling the pack, but shuffling the indexes.

Its looking pretty good now, tyvm!

EDIT: i've set it to reshuffle when thw number of cards to deal is less than the number of cards left in the pack.
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.

Last edited by coldDeath; Oct 31st, 2005 at 8:18 AM. Reason: typos
coldDeath is offline   Reply With Quote