I wrote a solver a few weeks ago that solves easy mode in 3.45 guesses and hard mode in 3.55 guesses. Rather than using heuristics, it explored a large portion of the game tree (with a little pruning) and I'm hopeful that it's optimal. Interestingly, the EV-optimal hard mode strategy takes 3.52 guesses on average, but requires 7 guesses a tiny fraction of the time, so I instead exposed the best strategy that always r…
Solving Wordle in 3.64 guesses on average, 99.4% of the time
21–30 of 181 posts
Re: Solving Wordle in 3.64 guesses on average, 99.4% of the time
#22Also, since there's only one word a day, I think we can assume that it's chosen manually, and it won't be some archaic anglo-saxon tool for shoeing horses or something, it will be a relatively common word.
Re: Solving Wordle in 3.64 guesses on average, 99.4% of the time
#23Re: Solving Wordle in 3.64 guesses on average, 99.4% of the time
#24Re: Solving Wordle in 3.64 guesses on average, 99.4% of the time
#25As many have mentioned, it seems much more efficient to focus on eliminating letters, which means that the second word should not be very green at all. Also, since there's only one word a day, I think we can assume that it's chosen manually, and it won't be some archaic anglo-saxon tool for shoeing horses or something, it will be a relatively common word.
Re: Solving Wordle in 3.64 guesses on average, 99.4% of the time
#26It looks like the losing cases are those where in hard mode you can easily get 4 of the letters correct but you have more potential words than guesses left.
Re: Solving Wordle in 3.64 guesses on average, 99.4% of the time
#27As many have mentioned, it seems much more efficient to focus on eliminating letters, which means that the second word should not be very green at all. Also, since there's only one word a day, I think we can assume that it's chosen manually, and it won't be some archaic anglo-saxon tool for shoeing horses or something, it will be a relatively common word.
See the NY Times article: http://web.archive.org/web/20220106042510/https://www.nytime...
Re: Solving Wordle in 3.64 guesses on average, 99.4% of the time
#28This is really interesting, well done :) As it stands, it seems like your algo will always use the same first guess, have you thought about making that configurable and seeing what happens with e.g. the number of words where it gets stuck and runs out of time?
Yeah, next program will effectively do this but in an utterly insane way. Shall we brunch to discuss soon?
Re: Solving Wordle in 3.64 guesses on average, 99.4% of the time
#29I have a feeling that a perfect algorithm should be able to solve all wordles in 4 guesses. (but I might be wrong)
The problem with a lot of approaches is they seem to locally optimise for each guess rather than optimise over all the guesses (if that makes sense?)
I get the feeling guessing the most frequent letters might not be the best approach, because does it cut down the number of possible words much?
My intuition tells me if you have the right first 3 guesses you should be able to cut the dataset down to 1 possible answer every time.
However I don't know how to program it.
Re: Solving Wordle in 3.64 guesses on average, 99.4% of the time
#30As many have mentioned, it seems much more efficient to focus on eliminating letters, which means that the second word should not be very green at all. Also, since there's only one word a day, I think we can assume that it's chosen manually, and it won't be some archaic anglo-saxon tool for shoeing horses or something, it will be a relatively common word.