viresh-ratnakar / exolve

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

Allow 'alternative' letters #93

Open MaheshVelankar opened 1 year ago

MaheshVelankar commented 1 year ago

Some words have alternative spellings. (I am not expert on any language but examples could be gray/grey or show/shew etc ... correct me if wrong) In Sanskrit based words in Indian languages word like 'कोश' can be written either as 'कोश' or 'कोष' (meaning a collection or a treasury). The setter may wish to allow both the alternative letters as acceptable.

Is there any way to achieve this in exolve. If it is, pl let me know. If it is not there, I suggest you may allow '/' between alternative letters (like 'श/ष') so that both can be considered when evaluating.

Thanks

viresh-ratnakar commented 1 year ago

This seems like a useful feature. It will probably get used quite rarely, but I think it's worth adding, especially as it would not add too much code complexity. I'll add it, hopefully soon.

Sometimes the alternative letters for cells go together. In the sense that the crossword might have two distinct solutions (here's the famous example). I'll probably add support for that scenario too.