by eat_veggies · 4y ago · 0 comments
# Greatly penalize words that have multiple of the same black letters
# Greatly penalize words that have the same black letters as any seen word
# Greatly penalize words that have the same yellow letter/index pair as any seen word
# Reward words that have yellow letters that match yellow letters in seen words, but in different positions
# Reward words that have yellow letters that match green letters in seen words
# Penalize words that have yellow letters that don't appear in seen words
# Penalize words that have green letters that don't appear in seen words
# Rewards words based on commonality
# Reward/penalize words based on line indexes and common letters
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/I like your project, very creative!
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.