Open duck57 opened 1 year ago
A simple solution would just be to make each "grid" section 2 characters (wide) so you can handle up to 99 words.
-----------------------
CROSSWORD
-----------------------
▓▓ 12 ▓▓ ▓▓ ▓▓ ▓▓
15 ▓▓
13 ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ 11
▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓
▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓
▓▓ 16
▓▓ 17
▓▓ ▓▓ 14 ▓▓ ▓▓
responding to https://github.com/joshbduncan/word-search-generator/pull/26#issuecomment-1341718692
Yes, I should do just that. How I'd think of handling numbers greater than 9 is by drawing a grid, similar to https://github.com/duck57/LightbulbSharkCipher/blob/master/draw.py
That said, that's also some clunky terminal display for a crossword of significant size.