4 ms·
It's interesting to see the edge cases where the algorithm struggles to find the last letter. > shave: [slate: 20202, share: 22202, shame: 22202, shape: 22202,
by prezjordan 5y ago
It's interesting to see the edge cases where the algorithm struggles to find the last letter.
> shave: [slate: 20202, share: 22202, shame: 22202, shape: 22202, shake: 22202, shade: 22202]
I guess it needs to find the right choice of [r, m, p, k, d, v] to get "shave" (since 'v' is so rare it takes 6 guesses!). Trying "marks" and "paved" would narrow that list down in 2 guesses (and a third to actually try "shave")
Anyone code this up yet? (I haven't, I took a greedy approach too [0]). Wonder how to generalize such a plan.
[0]: https://github.com/jdan/wordle.ml https://github.com/jdan/wordle.ml
- tomlockwood 5y agoYeah, I don't want to give the game away on my next program but its along those lines, and there are some challenges to making it work that I'm still figuring out haha.
- muti 5y agoThe solver is playing in "hard" mode, where any yellow/green letters must be used in further guesses