crossword puzzle in LiveCode
Joe Lewis Wilkins
pepetoo at cox.net
Thu Dec 8 11:59:33 CST 2011
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.
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.
More information about the use-livecode