crossword puzzle in LiveCode
richmondmathewson at gmail.com
Thu Dec 8 13:59:10 EST 2011
cop a look at this:
> Hi Chris,
> One of the cards in my San Diego Coloring Book is a Crossword Puzzle. I did it pretty much by brute force. Nothing fancy but it works quite well. Would you like to see a screen shot? I'll send it to you directly if you would like.
> Joe Wilkins
> On Dec 8, 2011, at 9:51 AM, Chris Sheffield wrote:
>> Has anybody ever created a crossword puzzle application in LC? I'm having to make one, and I'm kind of at a loss. Not really sure how to proceed. If anyone has some pointers or sample code they'd be willing to share, I'd be most grateful.
>> My idea right now is to have some kind of a grid that would get created at run-time. Not sure yet whether to use square graphics or just use actual fields. So the application would be fed the max number of spaces across and then the max number of spaces down. So say the longest word across has 10 letters, and the longest word down has 6 letters. So a grid that is 10 by 6 would be created. Then I would somehow determine where the letters for the words will be placed in the grid (still kind of fuzzy on this part), and then once that's done, I would hide the unused spaces, leaving behind a crossword layout. Tapping/clicking in a space would then allow the user to enter a letter for that space (or something of that nature).
>> Does that even sound doable? Anyone have a better suggestion?
>> Chris Sheffield
>> Read Naturally, Inc.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode