• 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: Nigel Garvey <email@hidden>
  • Date: Tue, 2 Nov 2004 16:42:14 +0000

kai wrote on Tue, 2 Nov 2004 00:25:53 +0000:

>This variation manages a speed bump of roughly 50% OMM, Michelle:
>
>------------------
>
>script getFullDeck
>	set text item delimiters to return
>	set d to {"AS", "KS", "QS", "JS", "10S", "9S", "8S", "7S", "6S", "5S",
>"4S", "3S", "2S", "AH", "KH", "QH", "JH", "10H", "9H", "8H", "7H",
>"6H", "5H", "4H", "3H", "2H", "AD", "KD", "QD", "JD", "10D", "9D",
>"8D", "7D", "6D", "5D", "4D", "3D", "2D", "AC", "KC", "QC", "JC",
>"10C", "9C", "8C", "7C", "6C", "5C", "4C", "3C", "2C"} as string

[...etc.]

>If NG's around, he'll probably wipe the floor with us both anyway... ;-)

Hi, Kai. Good to be reading your posts again.  :-)

I saw this coming in the Web archive last night and cobbled something
together to post when the digest arrived today. Since then, of course,
Graff, Tim, and Bernard have posted their scripts and you've posted
another. Mine was essentially the same as your second one, but very much
longer-winded because it used its own random number generator and
actually distributed the cards rather than simply giving each player 13
at a time.

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. :-)

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

  • Follow-Ups:
    • Re: Bridge anyone? [not off topic]
      • From: email@hidden
    • Re: Bridge anyone? [not off topic]
      • From: Graff <email@hidden>
  • Prev by Date: Re: Best practices- nested loops or handlers or both
  • Next by Date: OmniGraffle - Insert Image
  • Previous by thread: Re: Bridge anyone? [not off topic]
  • Next by thread: Re: Bridge anyone? [not off topic]
  • Index(es):
    • Date
    • Thread