heatherleaf / crossword-maker

A simple web-based tool for building your own crosswords
https://heatherleaf.github.io/crossword-maker/crossword.html
GNU General Public License v3.0
8 stars 5 forks source link

Add words that can turn #4

Closed heatherleaf closed 3 years ago

heatherleaf commented 3 years ago

If we have a (horizontal) selection that ends in a (vertical) word, then it's also possible to let the selection continue downwards until the end of the (vertical) word. This can be a good alternative if there is no good word matching a selection.

There are two kinds of turns: ⤵︎ and ⤷, and the corresponding arrows have to be shown in the crossing cell.

We have to also take care if the user later extends the original selection horizontally, because then the turn should be removed.

heatherleaf commented 3 years ago

There are two UI ways to do this:

The 1st solution is probably easier, the 2nd can be done together with #5

heatherleaf commented 3 years ago

Solved by https://github.com/heatherleaf/crossword-maker/commit/d4732834cc2128173561a088226c2a29be08ee4a