Assignment Overview
In this project, you will be implementing 3 AI “guessers” and 2 AI “choosers”:
LetterFreqGuesser
insrc/guessers/letter_freq_guesser.rs
PatternAwareLFG
insrc/guessers/pattern_aware_lfg.rs
PagaLFG
insrc/guessers/paga_lfg.rs
RandomChooser
insrc/choosers/random_chooser.rs
EvilChooser
insrc/choosers/evil_chooser.rs
Running the Project
To run all the tests, run cargo test
. To run the game, run cargo run
.
Submitting Your Code
Before submitting your code, make sure to:
- Run
cargo clippy
and fix any warnings that appear. - Run
cargo fmt
to format your code according to the Rust style guidelines. - Commit and push your code to your repository.
Then, submit your code to the Gradescope assignment.