This game was made using the chapter two of the second edition of the Rust book tutorial.
Here’s how it works: The program will generate a random integer between 1 and 100. It will then prompt the player to enter a guess. After entering a guess, it will indicate whether the guess is too low or too high. If the guess is correct, the game will print congratulations and exit.
$ cargo build
$ cargo run