Crates.io | wordletron |
lib.rs | wordletron |
version | 0.2.0 |
source | src |
created_at | 2022-01-26 06:33:55.848907 |
updated_at | 2022-04-05 06:20:16.814738 |
description | A solver for and command-line version of Wordle |
homepage | |
repository | https://github.com/chrisnc/wordletron |
max_upload_size | |
id | 521357 |
size | 116,150 |
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.
Run cargo install wordletron
.
Just run 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.