Show HN: A Wordle for the command line (Spanish and English)
github.com
github.com
aahed aalii aargh abaca abaci
I don’t think I would ever think of putting in any of those words, so if that was the solution, I’d just be stuck. (Are they actually real words?)
view-source:https://www.powerlanguage.co.uk/wordle/main.e65ce0a5.js
Edit: typo
I use one that involves your eyes, but there are probably others.
Edit: for all the five-letter words in the above list, the order of frequency is ESAROILTNDUCYMPHBGKFWVZJXQ. Wordle has a different list.
One approach is to look at which guess, averaging across all answer words, gets the most hits. You'd expect a word that uses several of the most common letters ETAOIN etc. This helps you quickly discover letters that appear in the answer. Using this strategy, a common first guess is SOARE, explained here:
https://bert.org/2021/11/24/the-best-starting-word-in-wordle...
Missed letters provide information as well, though. Instead of optimizing for the most green/yellow hits, you could divide the entire solution space by the 3^5 possible green/yellow/gray patterns generated by the initial guess. Which initial guess divides most evenly, so you can reliably eliminate 99% of the possible answers? That would be ROATE, explained here:
https://medium.com/@tglaiel/the-mathematically-optimal-first...
Note that ROATE and SOARE are very similar to one another. There are 729 T's in the Wordle wordlist and 669 S's, so ROATE seems like the slightly better answer.
(If going by the first strategy, why SOARE and not ROATE if there are more T's? Probably because there are 3x as many words that start with S than R in the list, so it optimizes towards locking in the first letter.)