Thread
:
Online crossword puzzles?
View Single Post
briand
2008-04-18 , 18:50
Posts: 566 | Thanked: 145 times | Joined on Feb 2008 @ Tallahassee, FL
#
27
yeah, I saw that. :/
If you crack open a completed .puz file in a hex editor, you can see the layout with the user's answers and the "key" answers, laid out as the grid is laid out. If the .puz isn't scrambled (or "locked"), then it's a plain english text read. If it's scrambled, then the second ('answer') grid will be scrambled. In the actual AcrossLite application, entering the 4-digit (1-9, no 0's!) code will de-scramble the "answer key" copy in memory, and allow direct comparisons (check word, check grid, etc). After applying the 4-digit key to the puzzle, subsequent saves to disk will save an 'unlocked' version.
Anyway, several years ago, during a time I should have (no doubt) been working on something else, I fiddled around and found where (and how) the 4-digit key is stored in the .puz file, and (subsequently) how to use that key number to translate the 'scrambled' grid in the .puz file into an 'unscrambled' grid. Again, I'll snoop around and see if I can find that code snippet, and apply it to the project.
This code is not needed by Xword.
More properly, "This code is not needed by Xword, as long as the site in question offers an unscrambled version of the same puzzle for download at a later date/time."
If all the site offers is the 4-digit code and no "unlocked" puzzle, then there is no way to check your answers.
Quote & Reply
|
briand
View Public Profile
Send a private message to briand
Visit briand's homepage!
Find all posts by briand