Crates.io | wordle_solver_ |
lib.rs | wordle_solver_ |
version | 2.0.0 |
source | src |
created_at | 2022-03-15 22:23:38.232038 |
updated_at | 2022-04-10 23:54:59.952659 |
description | A fairly simple Wordle solver algorithm |
homepage | |
repository | https://github.com/HicaroD/WordleSolver |
max_upload_size | |
id | 550740 |
size | 25,104 |
:green_square: A simple algorithm to solve Wordle puzzles.
cargo install wordle_solver_
In order to represent the pattern below in my program, you can use the following keywords: B
(Black), G
(Green) and O
(Orange).
The input of the program should be c-O r-B a-B t-B e-B
. You need to associate each letter with your status / color and try to use to use the outputs of the program as the possible inputs in the game. Hopefully, you get good patterns to make the list of words as short as possible.
With the Wordle dictionary on hands, I could write a fairly simple algorithm to filter the entire list of words. I didn't measure, but I'm pretty sure this algorithm is very inneficient and certainly there are plenty of better implementations of a Wordle Solver. In order to take a little bit more advantage, try to use some good opening words, such as "crate",, "soare" or "crane". If you want to know about information theory in the context of Wordle solving algorithms, watch this.
Maybe in the near future, I could improve my algorithm precision by taking advantage of the list of common word and letter frequency, so I can show more precise and reliable results.
This project is licensed under the MIT license.