Post #1638530
2026-04-23 20:32 UTC
Got nerd-sniped into thinking about modeling Wordle as a constraint-solving problem by my partner this morning, and bootstrapped something basic over lunch.
It's doing _okay_ but not, like, amazing.
⬜⬜⬜⬜⬜ nidal
⬜🟨⬜🟨⬜ frosh
⬜🟨🟩⬜🟨 yurts
🟩⬜🟩🟩⬜ sprug
🟩⬜🟩🟩⬜ serum
🟩🟩🟩🟩🟩 scrub
Replies (3)
-
@cliffle@hachyderm.io 2026-04-23 20:34
Currently it's just repeating a two-phase strategy: Given the set of valid 5-letter guesses, choose one _at random_ (without replacement). Given the sequence of colors that the game produces in result, build a set of constraints and pare down the valid guess set. Repeat. So, none of the strategies you see in an advance human player, at the moment.
-
@iliana@tacobelllabs.net 2026-04-23 20:34
@cliffle now i'm just stimming on the word "yurts"
-
@havok@defcon.social 2026-04-23 21:13
@cliffle random is interesting. i treated it like passwords but there are limited choices given language. start with a word that contains key letters and usually can solve within 3