WordleMax is a Wordle solver/bot programmed by SinisterDeveloper with an accuracy of ~99.5% and an average guess count of 3.78 (tested against all possible solutions in NYT Wordle)
| Bot/Strategy | Accuracy (Hard Mode) | Average Guesses (Hard Mode) | Algorithm |
|---|---|---|---|
| WordleMax (this) | 99.5% | 3.78 | MiniMax |
| 3Blue1Brown (varies by implementation and dictionary) | ~99.2% - 99.9% | ~3.5 - 3.7 | Entropy |
| Bot Plays Wordle | ~99.6% | 3.95 | Entropy |
Release- Find the latest release in theReleasessection, unzip the content and runwordle.exeCompile- if you want to compile the code yourself, read here
Read here to easily compile the code in couple of commands and run on your preferred Linux distro
- Wordlemax uses an algorithm
MiniMaxto aggressively minimising the Worst-case Depth resulting in stronger "average guess" count compared to elite solvers which use anEntropyalgorithm - When using MiniMax: Hard Mode is naturally enforced as all the previous guess' results are used for the subsequent guesses
- This algorithm is meant to minimise the largest possible set of remaining solutions by going one move ahead to compute the future results, hence optimising the worst case scenario
- The stronger average-guess count is the result of Minimax ensuring that even the hardest partitions are resolved effeciently
Entropybots on the other hand, optimise for expected information gain, and perform slightly worse in Hard Mode
To facilitate transparent benchmarking, test mode within the bot solves against all possible solutions, displaying the results for failed attempts, accuracy and average guess count
If you find issues or need help running it, you may open an issue in the Issues section and I will help you out!
if you liked the bot, please star and/or share the repository with your friends or people who may be interested!
Thanks and have a great day!