Skip to content

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

Notifications You must be signed in to change notification settings

prakhar0711/number_guessing_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages