Re: Golf challenge: Tangled Tale
Brad Greenlee <[email protected]>
| Newsgroups | gmane.comp.lang.perl.fun |
|---|---|
| Message-ID | <[email protected]> |
You're right, Vladi. Although there's a site for more official golf...I guess I just thought this was a fun problem and was too lazy (a virtue!) to write it up formally. I can try to write up a more formal challenge if people want it (although it's bedtime for me now). But tersely: This is the puzzle to solve: http://scottkim.com/newmedia/tangledtale.html Input: none. Encode the data you need to solve the puzzle in your solution; and no, just printing out the answers without actually "solving" the puzzle programatically doesn't count. Actually, if I had the time/inclination, I suppose the right thing to do would be to come up with a few other valid puzzles that could be used as input. But I don't (volunteers?) Output: all solutions to the puzzle, one per line (sorry, Tobias!), in the form: 1 8 5 11 ... 16 Where the numbers, read from left to right, represent the order in which to visit the squares in order to solve the puzzle. I will say that there is more than one answer to the puzzle. Checking whether your answers are correct is as simple as following your sequence on the puzzle. Down to 169 and going to bed... -b Vladi Belperchinov-Shabanski wrote: > hi, > > there cannot be golf competition without strict rules and input data. > I haven't seen the data at least. I'm sorry but golf takes lot of time > chasing (possibly non-existent) solution and I guess lot of people > won't participate just to find that someone tricked them with the initial > rules which is not much fun :) > > sorry for the the off-topic. > > P! Vladi. > > > On Mon, 21 Jun 2004 00:34:39 +0200 > Brad Greenlee <[email protected]> wrote: > > >>[rejoining this list after a too-long absence...forgive me if by some >>bizarre chance this or something similar has already appeared] >> >>Hey all... >>The following has consumed most of my evening, so I thought I'd share >>the joy. I just came across this puzzle: >> http://scottkim.com/newmedia/tangledtale.html >> >>After realizing it was taking me too long to figure it out in my head, I >>started using pencil & paper. After that started taking too long, I >>decided to just write a program to solve it. After solving it, I figured >>the program looked too pretty, so I thought I'd scrunch it down and make >>it unreadable to all but the people on this list. Golf anyone? My >>opening shot is 288. >> >>The only rule other than the ones on the puzzle site is to print out all >>possible solutions to the puzzle, in a readable format (i.e. put some >>spaces between your numbers). >> >>Cheers, >> >>Brad >> >> >> > > >