From: Eric DUMINIL Date: 2007-12-11T03:55:58+09:00 Subject: Re: Word Loop (#149) Hi! Sorry, I still hadn't seen your solution when I wrote those specs. Impressive stuff! I was just a bit disappointed by the fact that the quiz seemed to propose only basic "u-turn words", and I wanted to find something juicier. I sure found it with your results! To be sure we're talking about the same problem, I was taking into account the fact a knot-word should still be readable if you know that: -the first letter is the only uppercase one in the knot -the first direction is rightwards -as long as you can go on reading in one direction, you should -once you cannot go further, try to turn right -if you can turn right, keep on reading! -if you cannot turn either, the word is complete I suppose that nobody could guess that Chee nir actually is "chincherinchee". Taking this readability into account, the only possible knot for "Entitlements" is: me Ent lti _s_ Eric AsWell On 10/12/2007, Eric I. wrote: > On Dec 10, 10:38 am, Eric DUMINIL wrote: > > Hard specs coming! > > > > Loop of > > -"Entitlements" should be: > > > > me > > Ent > > lti > > _s_ > > I'm not sure what you mean by "should". My solution found six > solutions all of which have three overlaps. I don't know if there's a > reason to favor one over the others. Perhaps you could favor those > rectangles that have the fewest unused cells, in which case the third > below would be best. > > ment > elti > ..s. > > emen > ltit > ...s > > men > est > lti > > me. > ent > lti > .s. > > ments > elti. > > ents > m.i. > elt. > > > Eric > > ==== > > Are you interested in on-site Ruby training that's been highly > reviewed by former students? http://LearnRuby.com > >