Skip to content

bhantsi/guessing_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RUST GUESSING GAME

A simple guessing game build with Rust base on the Rust official documentation book

How it works

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 a guess is entered, the program will indicate whether the guess is too low or too high. If the guess is correct, the game will print a congratulatory message and exit.

Documentation

Documentation

Installation

If you’re using Linux or macOS, open a terminal and enter the following command:

$ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh

Windows:

For Windows Installation check this guide

Run Locally

Clone the project

  git clone https://github.com/bhantsi/guessing_game

Go to the project directory

  cd guessing_game

Run the program

cargo run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages