1
0
Fork 0
Commit Graph

2 Commits (d2276bee06867d690adc5fe6c5e41f75e231ae1c)

Author SHA1 Message Date
Jeffrey Adair 5152e68c80 Fix bug in valid word detection
The valid word detection did not account for the fact that a valid word
could exist twice in the list: once at a non-multiple-of-five index
because it is the end of one word and the start of another, and again at
a multiple-of-five index for the word itself. An example is aglow agony
contains wagon. This prevented wagon from being considered a valid word
(even though it could be selected as the target word).

This fix loops through all detections of the word in the dictionary to
see if any are at a multiple-of-five index.
2022-05-04 23:52:07 -04:00
Gordon Williams dc1bb3ea35 bump app version 2022-04-04 09:37:12 +01:00