A google for "word search game" turns up a bunch of sites that offer this sort of diversion on the web -- nice to scan for ideas on how to structure an application, but I don't know if you'll find any source code or implementation details that way.

I'm guessing the tricky part is figuring out how to assign the letters to the grid positions so that all the words on a given list are attested just once each. If you can get your head around an algorithm for that, the rest should be easy. The use of a basic canvas widget to draw the grid is attractive, because it would be easy to overlay any other kind of graphic to mark words in the grid when they're found.


In reply to Re: Perl/Tk Word Search Help/Suggestions by graff
in thread Perl/Tk Word Search Help/Suggestions by Limbic~Region

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.