Re: A85: A couple of programming questions


[Prev][Next][Index][Thread]

Re: A85: A couple of programming questions



That sounds much better than what i was originally doing.  I was just
randomly swapping 2 cards.  Thanks for the info, i'll try it.

-mike pearce

On Mon, 1 Sep 1997 22:46:30 -0800, you wrote:

>I can't help you with the specifics but it may be of interest to know
>that I read a very good doctorate paper on shuffling cards and it
>proved mathematically that randomizing the list 4 times completely shuffled
>a deck. So when you do randomize it, just loop four times and you got it.
>
>The method inferred was you take the first card and swap with a random card,
>do the same with the second, and so on. Loop four times, bingo!
>
>-----Original Message-----
>From:	Michael Pearce [SMTP:mikep@anet-dfw.com]
>Sent:	Monday, September 01, 1997 2:39 PM
>To:	assembly-85@lists.ticalc.org
>Subject:	A85: A couple of programming questions
>
>First, and most importantly, what is the best way to create a random
>order for a fixed data set.  Or more specifically, what is the best
>way to shuffle cards.  Second, does the RANDOM routine in Usgard work?
>I think i remember reading that you could only call it so many times.
>Is this still true with Usgard v1.0?
>
>-mike pearce


References: