A simple number guessing game written in Rust.
This is a simple number guessing game written in Rust. The game generates a random number, and you need to guess what it is. After each guess, the game will tell you if your guess is too high, too low, or correct.
How to Play:
-
Make sure to install Rust first.
-
git clone https://github.com/yourusername/guessing_game.git
-
cargo run
Follow the game prompts to make guesses until you get it right.
-
Variables and mutability
-
Data types and type conversion
-
Standard input and output
-
Error handling
-
Random number generation
-
Control flow