Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 257 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 257 Bytes

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