alexdej / puzpy

Python library for reading and writing across lite crossword puzzle .puz files.
MIT License
112 stars 32 forks source link

Fix "black" square check for diagramless puzzles #16

Closed fluxionary closed 3 years ago

fluxionary commented 5 years ago

Diagramless puzzles use a different character to denote 'black" squares (':' instead of '.'). This caused issues w/ clue_numbering. I assume it would cause issues w/ scrambling as well, though I haven't looked into that. I've tried to construct the fix so as not to break anyone's usage of the current API.

alexdej commented 3 years ago

Thank you for catching this issue and proposing a change. I wanted to use slightly different factoring in the code so I integrated your proposed fixes into another PR which I just merged to master. thanks again and happy puzzling!