ndelvalle / guessing-game

🕹 Rust guessing game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

guessing-game

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.

Build

$ cargo build

Run

$ cargo run

About

🕹 Rust guessing game

License:MIT License


Languages

Language:Rust 100.0%