4 ms·
I wonder what is the best strategy over a long distance? “ALONE” and “SHIRT” cover 1st to 9th and 11th most common letters in English dictionary but then, you'
by thaurelia 5y ago
I wonder what is the best strategy over a long distance?
“ALONE” and “SHIRT” cover 1st to 9th and 11th most common letters in English dictionary but then, you'll be getting more yellow letters in first two words which might not be the best approach (compared to completely eliminating 10 letters altogether).
Then, for words like “_OUCH”, it might be optimal to come up with a word containing as many potential first letters as possible (while omitting letters already in use, “ouch” in this case).
- salomon812 5y agoSo, there's another evil Wordle thread on Hacker News today (https://news.ycombinator.com/item?id=29862597 https://news.ycombinator.com/item?id=29862597) and over there, I've been refining my algorith for optimal play. Here's the current approach: R A I S E (0 green, 0 yellow, 168 words remain) B L U D Y (1 green, 0 yellow, 13 words remain) C O U N T (2 green, 1 yellow, 2 words remain) V O U C H (4 green, 0 yellow, 1 word remains) P O U C H (5 green, 0 yellow, 0 words remain) But what was interesting was at one point of development, it did this: L A R E S (0 green, 0 yellow, 576 words remain) T O N I C (1 green, 0 yellow, 50 words remain) B O O D Y (4 green, 0 yellow, 5 words remain) D E G U M (0 green, 2 yellow, 1 word remains) G O O D Y (5 green, 0 yellow, 0 words remain) See, the "BOODY" has 4 greens, but then it went and guess "DEGUM" to eliminate a lot of possibilities!
- kregasaurusrex 5y agoOne additional feature I was looking at for a personal implementation was picking the target word- how is it being chosen from the remaining letters after the player's first guess? Are you using a word that purposely uses fewer common letters from the set of remaining words?
- salomon812 5y agoNo, I'm looping through all possible guess and targets and grouping possible targets by matching scoring. Then I select a guess on which one has the smallest set of possible words afterwards. For example, "SERAI" seems to be a good first word. The reason why is that even if the adversary selects the worst-case scoring of (in this case, it would be no green, no yellow), there's only 168 remaining words it could be.
- dado3212 5y agoDo you have the code that you use for scoring somewhere?
- shawnz 5y agoSee also this Twitter thread: https://mobile.twitter.com/TylerGlaiel/status/1476275624746512386 https://mobile.twitter.com/TylerGlaiel/status/14762756247465...