Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 974 Bytes

README.md

File metadata and controls

42 lines (25 loc) · 974 Bytes

Number Guessing Game in Rust

Welcome to the Number Guessing Game!

This is a simple console-based number guessing game implemented in the Rust programming language.

How to Play

To try out the game, follow these simple steps:

1)Clone the Repository

git clone https://github.com/prakhar0711/number_guessing_game.git

2)Open the Project in Your IDE:

Navigate to the project folder and open it in your preferred Rust-compatible IDE.

3)Build the Project:

Open your terminal and run the following command to build the project using Cargo:

cargo build

3)Run the Project:

Once the project is successfully built, run the game using the following command:

cargo run

How to Play the Game

1)The game will prompt you to enter a guess for the secret number.

2)You'll receive feedback on whether your guess is too high, too low, or correct.

3)Keep guessing until you correctly identify the secret number.