jonesnxt / kilordle

25 stars 20 forks source link

fix multiple words per guess issue #26

Closed briaguya-ai closed 2 years ago

briaguya-ai commented 2 years ago

resolves https://github.com/jonesnxt/kilordle/issues/23

in order to diagnose this, i expanded https://github.com/jonesnxt/kilordle/blob/acae1a0b698549d134a3d2b1d300f18d6308d9fd/src/util/sortByValue.ts#L5-L9 out to be https://github.com/jonesnxt/kilordle/blob/7275b3d0f640c6cf95e5590a74b7e069209f1fff/src/util/sortByValue.ts#L1-L23

then i played a bit, at which point i noticed image

instead of trying to understand the scoring system, i just made scoreWordle return 100 if the word is in guesses, and changed the !== 15 to be !== 100

briaguya-ai commented 2 years ago

i just realized it's possible this is intended behavior, as the words that are marked as solved would be obvious by reading the greens

briaguya-ai commented 2 years ago

closing this, seems like it's intended (https://github.com/jonesnxt/kilordle/issues/11)