This is my first demo of rust and I learn this language by wrting a gussing game.
First, setting the "rand" in Cargo.toml
cargo build
Then, writing codes in src/main.rs, and cargo run to guess the number and the codes will hint if it's bigger or smaller