Skip to content

jamesread/wordle-solver

Repository files navigation

wordle-solver

Crush wordle with just filtering logic.

Maturity Build Tag Discord

A very simple web app to solve wordle - it suggests a ranking of the best possible next guesses that statistically is most likely to win the game in as few moves as possible.

The ranking of words is determined by an algorithm that is mostly just using constraint-based filtering of the English dictionary, based on the results of guesses, coupled with the frequency statistics of probable words.

screenshot

This app has a solve rate within the very high 90% - probably 98%, and most of the time loss is simply down to human input error or occasionally words not existing in the dictionary, otherwise, it generally destroys, I mean, solves, wordle, very nicely :)

Interesting game variations

Installation (docker container)

This is by far the easiest way to run the app, simply run the container like this;

docker run --name wordle-solver -p 8080:8080 ghcr.io/jamesread/wordle-solver

Installation (local)

Pip install the dependencies;

pip install enwords
pip install wordfreq

Run

./wordle-solver.py

About

A very simple web app to solve wordle.

Topics

Resources

License

Stars

Watchers

Forks

Packages