Re: Bridge anyone? [not off topic]
Re: Bridge anyone? [not off topic]
- Subject: Re: Bridge anyone? [not off topic]
- From: Nigel Garvey <email@hidden>
- Date: Tue, 9 Nov 2004 16:49:33 +0000
David Andrews wrote on Mon, 8 Nov 2004 21:17:43 -0500:
>copy {emptyHand, emptyHand, emptyHand, {}} to {north, east, south, west}
>
>repeat 13 times
> set c to (some integer of dealt)
> set item c of dealt to missing value
> set item c of north to item c of deck
> set c to (some integer of dealt)
> set item c of dealt to missing value
> set item c of east to item c of deck
> set c to (some integer of dealt)
> set item c of dealt to missing value
> set item c of south to item c of deck
>end repeat
>
>set north to every Unicode text of north
>set east to every Unicode text of east
>set south to every Unicode text of south
>
>set dealt to every integer of dealt
>repeat with c in dealt
> set end of west to item c of deck
>end repeat
An interesting development. *Implied* random selection of one hand's
cards. Seems to work. :-)
NG
_______________________________________________
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