thisisparker / cursewords

:pencil: Terminal-based crossword puzzle solving interface
GNU Affero General Public License v3.0
249 stars 30 forks source link

Should cursewords offer to "flatten" rebus files? #25

Closed thisisparker closed 3 years ago

thisisparker commented 5 years ago

Pending full support for puz files that contain rebuses (see #4) maybe cursewords could, by default or after a prompt, reduce those rebuses to their first letter. It seems like some puz files are already distributed that way (at least Fireball, and likely others).

I'm inclined to have that flattening be the default behavior unless blocked by a flag or maybe a settings configuration (see #16), to avoid the "spoiler" of knowing that a file contains a rebus. But I might decide differently once I start implementing it.

thisisparker commented 5 years ago

One easy intermediate step would be to check to see if the rebus contains anything but empty bits. I think some puz authoring files add a "blank" rebus map to puzzles when other extensions are used, and those could be safely stripped out while opening (without modifying the underlying file).

thisisparker commented 3 years ago

OK so two years later, the answer to this is no, for a handful of reasons but the biggest among them is it turns out this is the default given the way that puz files handle rebuses. So without changing one line of rebus support except for the part that blocks cursewords from opening them at all, I already have "flattened" rebus files and I just never noticed!