jonadsimon / wonder-words-generator

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

Prioritize horizontal/vertical over diagonal #8

Closed jonadsimon closed 2 years ago

jonadsimon commented 2 years ago

Figure out how to prioritize horizontal/vertical orientations over diagonal orientations

Can maybe add an analogous remapper to loops through the directions appropriately

Barring this, consider randomizing the directions so that horizontal orientations aren't implicitly prioritized

jonadsimon commented 2 years ago

Maybe possible to do this using broader set of annotations shown here https://www.minizinc.org/doc-2.5.5/en/lib-stdlib.html?highlight=occurrence#search-annotations

jonadsimon commented 2 years ago

Another option: when generating the code, manually alternate (with randomness?) between smallest/largest.

Write out some specific cases to clarify the situation mentally.

jonadsimon commented 2 years ago

Tried a number of variants RE orientation, they all just made things worse.