Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: andye Re: "Countdown" (golf)

by dragonchild (Archbishop)
on Nov 30, 2001 at 18:41 UTC ( [id://128628]=note: print w/replies, xml ) Need Help??


in reply to andye Re: "Countdown" (golf)
in thread "Countdown" (golf)

As always, removing the trailing semi-colon helps. :-)

Excellent solution!

Update: Of course (and this wasn't specified, so it's cool!) ... this won't work with duplicate letters. blakem's does, yours doesn't. I would suspect the gameshow, though it wouldn't say this, would never give dupes.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Replies are listed 'Best First'.
Re: Re: andye Re: "Countdown" (golf)
by $code or die (Deacon) on Nov 30, 2001 at 20:46 UTC
    It can give dupes. In fact sometimes, the letters are so bad that the best the contestants can do is get a 4-letter word.

    I couldn't find the offical Countdown website on channel4.com. But there is more info about how the game is played here.

    Simon Flack ($code or die)
    $,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
    =~y'_"' ';eval"die";print $_,lc substr$@,0,3;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://128628]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-25 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found