From: Mariano Kamp Date: 2007-01-02T05:35:25+09:00 Subject: Re: [QUIZ] Word Search (#107) --Apple-Mail-5-397952455 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Oh, and btw. wrt the "overflow" mechanism the actual quiz solution looks like this: +++R++++++ ++++++++++ ROC+++++++ ++K+++++++ +S+++++++M +++++++DAN +++++++T++ ++++++Z+++ ++++++++++ YBU+++++++ Note, that I don't try to find multiple solutions. Cheers, Mariano On Jan 1, 2007, at 4:46 PM, Mariano Kamp wrote: > Hi, > > nice quiz ... Not too time intensive ;-) > > On Dec 29, 2006, at 5:06 PM, Ruby Quiz wrote: >> Today's quiz would've been most useful in elementary school, where >> over half of >> the homework assignments were word search puzzles. The concept of >> these puzzles >> is simple enough that an elementary school student could >> understand it: given a >> box of letters, find a line containing the letters of a specified >> word in order. > > I attached my solution. See test_ruby_quiz. Please be gentle ;-) > >> * An output format superior to the one given. The output format >> given >> should remain the default unless both formats don't differ on a >> textual basis. That should sound cryptic until pondered, I can't >> give too much away! > I like the current format. > >> * Allow for "snaking" of answers, in other words, the letters >> composing a word don't have to be in a straight line. > It allows for snaking, see "test_snake", and also for matches that > leave the field on one side and comes back on another, e.g. YRUB. > See test_overflow. > >> * An option to give a hint, i.e., "The word ruby traverses the >> bottom >> left and bottom right quadrants." > nah. > >> * Decide what to do with accented letters. > Didn't implement that either. > >> * Allow for wildcard letters. > Didn't go all the way like using regexp, but "*" is allowed as a > wild card character. > > Funny enough, my Sudoku solution took less lines than this one ... > > Cheers, > Mariano > > > --Apple-Mail-5-397952455--