Skip to content

A solver for the popular Wordle game written in Rust.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

neofight78/wordle-solver

Repository files navigation

Wordle Solver

A solver for the popular Wordle game written in Rust. It does not attempt to be the most efficient solver possible but tries to avoid using obscure words. The aim is to produce more "human" solutions.

The solver plays in hard mode, i.e. any revealed information must be used in subsequent guesses. It is able to solve most but not all wordles in 6 guesses or fewer.

To try out the interactive solver run:

cargo run

To check the performance of the algorithm (in terms of guesses needed) run:

cargo run --bin bench-solver --release

The solver uses a frequency sorted list of words generated from the wordle 5-letter word dictionary and a general purpose word frequency list. This generated file is part of the repository but if needed it can be regenerated by running the following:

cargo run --bin generate-word-list

License

Licensed under either the Apache or MIT license at your option. See LICENSE-APACHE and LICENSE-MIT for details.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this work by you shall be dual licensed as above, without any additional terms or conditions.

Third party data

The Wordle Dictionary is taken from the source code of the original Wordle game.

The Frequency List is taken from Adam Kilgarriff's lists based on the British National Corpus.

About

A solver for the popular Wordle game written in Rust.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages