jonadsimon / wonder-words-generator

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

Condition puzzle size on number of available words #10

Closed jonadsimon closed 2 years ago

jonadsimon commented 2 years ago

Total number of letters on the board should be ~0.8-0.9x the total number of letters in all of the words being placed. This will be higher or lower depending on the distribution of words lengths (e.g. 75 long words are harder to place than 80 short words)

Equation to use: board_size = floor(sqrt(0.9 x total_letters))

jonadsimon commented 2 years ago

Am already basically doing this, but in the opposite direction. No need to complicate things