Re: Bridge anyone? [not off topic]
Re: Bridge anyone? [not off topic]
- Subject: Re: Bridge anyone? [not off topic]
- From: Graff <email@hidden>
- Date: Tue, 02 Nov 2004 12:11:13 -0500
On Nov 2, 2004, at 11:42 AM, Nigel Garvey wrote:
Of the scripts I've seen so far, Bernard's is not only the fastest, but
it supplies each player's cards ready sorted! I still haven't worked
out
how it works, though. :-)
It looks like it (the quicker of the two scripts) chooses a random hand
to put a card in, then it puts the top card of the sorted set into that
hand. If the hand is already full then it removes the hand from the
list of available hands. Interesting, but I'm not sure if it
compromises the randomness of the hands or not since you are relying on
a random number from 1 to 4 rather than from 1 to 52 and if some hands
get full first then the rest of the hands will tend to have more cards
from a single suit.
Very interesting though.
- Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden