jonadsimon / wonder-words-generator

Generates WonderWords puzzles
Apache License 2.0
2 stars 0 forks source link

Fix now-broken retry logic #42

Closed jonadsimon closed 2 years ago

jonadsimon commented 2 years ago

Decision to not use short words as hidden words breaks the retry logic. Every run is now identical for word sets containing only short words. If it doesn't get it on the first try it fails completely.

Need to use different retry logic, e.g. permute the words within each length-class.

jonadsimon commented 2 years ago

Fixed in https://github.com/jonadsimon/wonder-words-generator/commit/21a8e0df3d19d236f0af7d7809514fa2c0c52ae0