Image credit: https://medium.com/@yotamyachmoorgafni
Easy to use Wordle Solver. Flaunts a minimalist UI and UX. The new implementation is complete for all Wordles and optimizes for minimum tries.
Usage:
- Clone and
cd
into this repo. - Choose the appropriate C file based on your OS.
- Compile
wordle-mac-linux.c
/wordle-win.c
(usesmath.h
header for entropy calculations so use-lm
flag withgcc
). - After every word suggested, input the feedback from wordle, e.g.
bbygb
for ⬛️⬛️🟨🟩⬛️ - Input
ggggg
to ensure it quits correctly when the word matches. - If a
floating point exception
is raised, it means you have entered incorrect feedback at some stage.
Example usage:
soare
byybb
bloat
<--- The second word might take some time to print (this is the most computationally heavy step)
bggyg
aloft
ggggg
Result:
Wordle 231 3/6
⬛🟨🟨⬛⬛
⬛🟩🟩🟨🟩
🟩🟩🟩🟩🟩
New optimizations significantly reduce the number of steps needed (in most cases). Read more about the information theory approach here: https://markmliu.medium.com/what-in-the-wordle-5dc5ed94fe2