Expand description

rusty_wordle contains an implementation of the Wordle game in Rust. The underlying dictionary and game rules are all based on the original game from the NY Times.

Structs

Struct for holding the logic and state for running a wordle game. Each instance is one round of Wordle for a given target word.

Struct to hold the result of a players guess, generated by calling play on a Game instance.

Enums

Enum to describe correctness of each character of a word guessed by a player when compared to a game’s target phrase.

Possible error that can happen when constructing or playing a Game

The state a Game can be in

Functions

Play wordle via the terminal