Shuffling algorithm.
Clarence Regis Wilson
t_pascal at oxy.edu
Wed Feb 21 13:29:35 AEST 1990
Hi. I'm sorry if this is not the right group to post
this, but I am new to the net. Could anybody please send
me via e-mail a good, reasonably fast, efficient card
shuffling algorithm?
Psuedocode would be welcomed as would source code in
FORTRAN or Pascal (I don't understand C yet). Even if you
can't give me any substance, at least a short description
would be fine.
I am trying to write a card game of Hearts just for the
heck of it, and I will probably write it in Pascal for the
sheer beauty and excellent data structures possible.
Oh, forgot to mention: If you have a good formula/
algorithm for psuedo-random numbers, I would I also
appreciate that.
Thank you for your time, and thank you in advance for any
help.
I have no idea what my outside address is, but I'm sure if
you use the built in reply command, I should get it.
T. Pascal
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Reg-- whatever it is, there's a book written about it." -Lee Kaplan
"There will always be prayer in school as long as there are final
exams" -Unknown
"Now it's my turn in the barrel, huh?" -C. Regis Wilson
"I don't like your .sig either." -Someone's .sig
"Here she comes." "No, she's just breathing hard." -My boss and I
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
More information about the Comp.sources.bugs
mailing list