Re:Show HN: Evil Wordle
by salomon812 on Sunday January 09, 2022 @02:05PM
(#29866300)
So, there's another evil Wordle thread on Hacker News today (https://news.ycombinator.com/item?id=29862597) and over there, I've been refining my algorith for optimal play. Here's the current approach:
But what was interesting was at one point of development, it did this:
See, the "BOODY" has 4 greens, but then it went and guess "DEGUM" to eliminate a lot of possibilities!
[ Parent
| on HN ]
Re:Show HN: Evil Wordle
by kregasaurusrex on Sunday January 09, 2022 @04:45PM
(#29867613)
One 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?
Re:Show HN: Evil Wordle
by salomon812 on Sunday January 09, 2022 @05:13PM
(#29867857)
No, 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.