maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   Online crossword puzzles? (https://talk.maemo.org/showthread.php?t=17895)

terrencegf 2008-05-22 20:45

Re: Online crossword puzzles?
 
Quote:

Originally Posted by briand (Post 171695)
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.

Hey briand,

Now that I have had some time to look at the xword code, I'm a bit more interested in this "unscramble" feature. I can see in the .puz file the bits that get altered when the puzzle is scrambled, but I don't know anything more. Have you had a chance to search for (and hopefully find) your code for unscrambling the grid?

briand 2008-05-22 21:32

Re: Online crossword puzzles?
 
to be honest, i hadn't looked, yet... I will, though... or we can work together to figure it out anew. send me a PM in a couple days, if I haven't sent you one before that.

bfleury 2008-05-26 21:31

Re: Online crossword puzzles?
 
THANK YOU! Just when I thought my N800 couldn't get any better, along comes this delightful little gem!! Good puzzle sources from the Boston Globe at:

http://www.fleetingimage.com/wij/xyzzy/08-bg.html

and the mother lode of links at:

http://www.fleetingimage.com/wij/xyzzy/nyt-links.html

Addison 2008-06-01 20:30

Re: Online crossword puzzles?
 
Thank you bfleury for those excellent links!

gleinnek 2008-06-19 03:34

Re: Online crossword puzzles?
 
Briand,

> to be honest, i hadn't looked, yet... I will, though... or we can work together to
> figure it out anew. send me a PM in a couple days, if I haven't sent you one
> before that.

Any luck on finding that code for unscrambling .puz files?

Gene

briand 2008-06-20 05:55

Re: Online crossword puzzles?
 
nah... I did search for it, but it's not on (or not any place obvious on) any of the OS disks in the various computers I've had operational since 1995... so, it was probably on my work computer at the time (and I haven't worked there for several years). I'll have to see about re-inventing that wheel when time allows...


All times are GMT. The time now is 18:00.

vBulletin® Version 3.8.8