wordle_rs
Have you ever gotten so obsessed with Wordle that you wanted to evaluate different strategies programmatically? If so, you're in the right place.
This crate is a part of the wordle_rs project, which has three parts:
wordle_rs, a library with tools you can use to write and evaluate your own Wordle strategies,wordle_strategies, a library demonstrating a few strategies that I wrote, andwordle_runner, a binary that can run and compare Wordle strategies written withwordle_rs.
Please feel free to contribute your own strategies to wordle_strategies!
Using wordle_rs to write and evaluate a strategy
Add the following to your Cargo.toml:
[]
= "0.1.1"
Then, define a new struct and implement the Strategy trait for it.
use Strategy;
;
Finally, configure and run the test harness on your strategy.
use ;
Or, use wordle_runner to run the strategy for you!
Using wordle_runner
Forthcoming.
Running strategies from wordle_strategies
To run a pre-made strategy (possibly against your own!), first add the following to your Cargo.toml:
[]
= "0.1.1"
= "0.1.1"
Then, import a strategy and run the wordle_rs test harness on your strategy.
use ;
use Common;
License
Everything in this project is licensed under the MIT license.