viresh-ratnakar / exolve

Online interactive crossword software in JavaScript
MIT License
71 stars 15 forks source link

add support for tentative letters #96

Open martindemello opened 7 months ago

martindemello commented 7 months ago

As a solver, I sometimes want to guess at an answer and enter it into the grid, while making it clear that I haven't fully solved the clue and this is therefore not a "firm" entry. It would be useful for exolve to support this, perhaps with some sort of cell background (using lowercase letters is common but that only works for alphabets that have lowercase).

viresh-ratnakar commented 3 months ago

I have updated the code to deal with this better.

Please note that Exolve somehow would need to know how to segment a sequence of characters in the placeholder slot into letters. I have taken the same approach for this as in the grid specification: you can separate letters by spaces.

See this documentation that I've now added to the README file:

You may also want to provide placeholder blanks for languages such as Hindi that have compound letters. Exolve recognizes multi-character letters separated by spaces within placeholders. So, if you have a 3-letter clue, and the placeholder text contains "उ स्ता द" then copying this into a 3-letter entry will place "उ" in the first cell, "स्ता" in the second cell, and "द" in the third cell.

viresh-ratnakar commented 1 month ago

BTW: there are many times when it would be nice to get weigh-ins from more users, and I find that rarely happening on GitHub Issue/Discussion area. So I've now created a Google Group. Do consider joining: https://groups.google.com/g/exolve-exet-etc

viresh-ratnakar commented 1 month ago

Uh. I just realized, that my previous comment should have gone to a different issue altogether :-)