crossword puzzle in LiveCode

Bob Sneidar bobs at twft.com
Thu Dec 8 13:15:12 EST 2011


I give you http://www.crossdown.com/howtomake.htm

It occurs to me that this cannot be entirely done by code. You would need a large library of words and their associated clues. The clues are quite arbitrary in nature, and so cannot be developed programmatically. 

Using a thesaurus could get you a long ways towards that end, but good crossword puzzles use well thought out clues that often have no relation to the word itself. Often they are "pun-ny". 

If it's just the creation of the grid you need however, I think the above link is ideal for defining the "rules" for a crossword puzzle. 

Bob


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?
> 
> Thanks,
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list