The guessing-game in Rust, from the Rust official starting guide.