Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

rjbs (4671)

  (email not shown publicly)
AOL IM: RicardoJBSignes (Add Buddy, Send Message)
Yahoo! ID: RicardoSignes (Add User, Send Message)

I'm a Perl coder living in Bethlehem, PA and working Philadelphia. I'm a philosopher and theologan by training, but I was shocked to learn upon my graduation that these skills don't have many associated careers. Now I write code.

Journal of rjbs (4671)

Monday April 30, 2007
05:25 PM

toward a free crossword puzzler

[ #33162 ]

Recently, Daniel Jalkut was doing that thing that has, sadly, become pretty popular in modern blogging: announcing his hot new product before telling us what it's for. (Did this start with Segway? I'm sure there are some prior examples that I can't think of.) Anyway, it turned out to be Black Ink, a really nice looking Cocoa-based crossword puzzle program. It started out pretty buggy, but has gotten a little better. It costs $25, which probably isn't too unreasonable, but I can't see myself spending that much on a game that I'll only play now and then.

It works by downloading files from newspaper sites. They're named things like "Wall Street Journal (3-23-07).puz" and their contents looked pretty straight-forward. I found some good notes on the format compiled by Josh Meyer, and that led me to produce Games::Crossword::Puzzle, which I used to produce a simple HTML formatted crossword template.

I'd really like to write a PUZ-to-HTML compiler to produce playable cross-platform puzzles. It should actually be pretty easy, although getting the interface down will take a while of experimentation and tweaking. I'm not sure how I want to handle saving state. In an ideal world, I would have some simple way to bless the file as having permission to update a section of itself, saving form state. That just isn't possible. Other solutions seem to include compiling to Firefox chrome (John C. suggests that mere XUL will not have useful access to Firefox's offline storage) or using Dojo Offline.

If only Curses::UI worked properly on Mac OS X, I might consider using that, instead.

Genius-brain-inspired suggestions welcome.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I actually toyed with some similar project ideas after seeing Black Ink. It really is a nice looking program, to the point where I instinctively start thinking of related applications...

    I was planning on doing a web app that used browser based offline storage (i.e. Dojo Offline or the new WHATWG client-side storage stuff in recent versions of Firefox), so you could have a community site to allow crossword addicts to share their scores and talk to each other while still allowing offline play, so people can