All projects
Wordle Solver
A Java solver that narrows the candidates using only the green, yellow and gray feedback Wordle gives.
- Built
- 2022
- For
- Personal project
- Stack
- Java
Each turn the solver guesses one of the remaining candidates, gets feedback, and keeps only the words that would have produced exactly that feedback if they were the answer.
The subtle part is duplicate letters. Greens are matched first, then yellows only up to the number of unmatched copies left in the answer. Try it below.
It solves 195 of 200 seeded test words within six guesses. A test across those 200 words checks that it never peeks at the answer.
speed
Only one E is yellow: the answer has a single E left to match.