Skip to content

Basic Wordle solver and a command-line version of the game itself.

License

Notifications You must be signed in to change notification settings

chrisnc/wordletron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordletron

This is a Rust crate for working with Wordle. It includes programs for playing the game, solving a game interactively, and simulating all games using the same strategy the interactive solver uses.

The solver is not very sophisticated; it just suggests guesses that minimize the maximum number of answers that would remain after making a given guess, over all answers that are still possible with the clues so far. If there is a tie, it will then choose words that minimize the average number of answers that would remain. If any of the guesses that are best by these criteria are also in the set of remaining answers, it will suggest only these.

Installing

Run cargo install wordletron.

Playing wordle

Just run wordle.

Solving wordle

Run solve-wordle. Input your guesses as prompted, and input your clues using the letters b for black, y for yellow, and g for green (case-insensitive), in the order they appear for the most recent guess. The program will show the answers that remain and the best guesses to make next to reduce this set by as much as possible in the worst case.

About

Basic Wordle solver and a command-line version of the game itself.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages