-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Over the weekend I wrote a tool to help me figure this out: https://github.com/biesnecker/wordlesmith
Wordle's wordlist is interesting. There is a large (~10,000 words) list of words that it will accept as guesses but that will never be the answer, and a much smaller (~2500 words) list of words it will both accept and could be the answer.
My tool's simple algorithm scores words by taking the product of the frequency with which each of its letters appears in the wordlist multiplied by the frequency that the letter appears in that specific spot. When looking at the entire list of words the top five choices are:
1. tares
https://github.com/vple/wordle-solver/blob/main/solver.js
There's probably more tuning I can do for the algo, but roughly:
- I took all the words from the site's js as the dictionary.
I made my own Wordle solver recently that uses frequency analysis of letters and bigrams of five letter English words as a scoring function. It works fairly well.
Someone in this discussion suggested using frequency analysis at position, which seems interesting, especially when trying to locate misplaced letters. I might have to try that.
https://github.com/jonathankoren/wordle-solver
I built a command line wordle solver that provides an updated best guess as the game progresses and you learn more. Right now it's just based on word frequency, but working to add more. Also added a command line version of wordle in case you want to play more and practice and a simulator I'm using now to explore optimal strategy more.
https://github.com/jkatzur/wordle-solver
Yet another Wordle solver!
https://github.com/nikitaborisov/autowordl
We choose the guess that is expected to result in the smallest set of possible solutions after one guess.
For the secret answer "QUERY" it suggests the following sequence of guesses:
1. LARES
90 possible answers after this guess.
2. GROUT
Only four possibilities now: ['ENURE', 'INURE', 'QUERY', 'QUIRE']
3. BRIBE
This narrows the field down to one possibility:
4. QUERY
Fun. I spent an hour and made this and just tried to score words with vowels and wheel of fortune consonants to start to make a good initial guess. IRATE came up. I like the frequency idea and the entropy discussion and have more ideas.
https://github.com/andyatkinson/wordle_solver
The error in your code is that your "evaluateGuess" function (right at the top, in the first 10 or so lines of https://github.com/christiangenco/wordlesolver/blob/9c3bd94a...):
function evaluateGuess({ solution, guess }) {