Re:Show HN: I built a Wordle decoder that guesses your guesses
by eat_veggies on Saturday March 05, 2022 @01:46PM
(#30570571)
the most interesting part of this imo is the heuristic it uses to find the most likely word:
I built something similar to this that just lists all the possible words, and is nowhere near as smart -- but it lets you draw pretty pictures! https://jse.li/wordle-reverse/
[ Parent
| on HN ]
Re:Show HN: I built a Wordle decoder that guesses your guesses
by mattlock on Saturday March 05, 2022 @01:52PM
(#30570625)
I honestly thought I removed those comments lol. They might be a little outdated, but yeah, I spent a lot of time thinking about what kinds of information I could glean. There's definitely some bias in there towards a certain kind of strategy/play.
I like your project, very creative!
Re:Show HN: I built a Wordle decoder that guesses your guesses
by ghaff on Saturday March 05, 2022 @02:16PM
(#30570873)
Looking at the parent run, my first thought was that its initial guess is a relatively uncommon word and is (I assume) probably not a very good choice as an initial guess. There are various lists of the best starting words in order going around. I wonder if you could get to the best results by picking the highest ranked word consistent with the other lines?
Re:Show HN: I built a Wordle decoder that guesses your guesses
by mattlock on Saturday March 05, 2022 @02:23PM
(#30570947)
I thought about using lists like that, but it felt a little too much like cheating. My attempt at something like this is, if the word is one of your first two guesses, I reward it for having more common letters. And actually penalize common letter "misses" in later lines. I'm sure it's not 100% optimal, but I saw some improvement on my admittedly very limited set of test data. Here's the relevant code - https://github.com/mattruzicka/wordle_decoder/blob/0bfd7eaac...
Re:Show HN: I built a Wordle decoder that guesses your guesses
by ghaff on Saturday March 05, 2022 @04:01PM
(#30571826)
Of course, doing what I wrote also makes the assumption that the person playing is using one of the top 10 (or whatever) starting words which may or may not be correct.
That aside, I started playing a 6 letter variant and, while I haven't done any sort of analysis with access to the word list, I did do a quick Word Hippo analysis of words with common letters, especially vowels, and while I'm sure my results aren't optimal they're probably pretty good.
ADDED: Which I think is probably not all that different from what your code is doing. I fed Word Hippo 4 or 5 letters and told it to come up with some common words.
But that still requires an assumption that a player has given some thought to good starting guesses.