Re: Bridge anyone? [not off topic]
Re: Bridge anyone? [not off topic]
- Subject: Re: Bridge anyone? [not off topic]
- From: Malcolm Fitzgerald <email@hidden>
- Date: Wed, 03 Nov 2004 18:33:24 +1100
David Andrews wrote:
set north to items 1 thru 13 of hands
set east to items 14 thru 26 of hands
set south to items 27 thru 39 of hands
set west to items 40 thru 52 of hands
{north, east, south, west}
-------------------------------
What is going on here? We're not playing "fish". In bridge the cards are
dealt, clockwise, from a shuffled deck.
-- assume west is dealing
set {north, east, south, west} to {{}, {}, {}, {}}
repeat with i from 1 to 13
set y to 4 * (i - 1)
set end of north to item (y + 1) of hands
set end of east to item (y + 2) of hands
set end of south to item (y + 3) of hands
set end of west to item (y + 4) of hands
end repeat
--
Malcolm Fitzgerald phone: 02 9318 0877
Database Manager fax: 02 9318 0530
The Australian Society of Authors <http://www.asauthors.org>
_______________________________________________
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