• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bridge anyone? [not off topic]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Bridge anyone? [not off topic]
      • From: Michelle Steiner <email@hidden>
    • Re: Bridge anyone? [not off topic]
      • From: Andrew Oliver <email@hidden>
References: 
 >Re: Bridge anyone? [not off topic] (From: kai <email@hidden>)
 >Re: Bridge anyone? [not off topic] (From: David Andrews <email@hidden>)

  • Prev by Date: Re: Inheritance and Loaded Libraries
  • Next by Date: Re: Bridge anyone? [not off topic]
  • Previous by thread: Re: Bridge anyone? [not off topic]
  • Next by thread: Re: Bridge anyone? [not off topic]
  • Index(es):
    • Date
    • Thread