Skip to content

ronaldkohhh/guessing-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guessing Game

A guessing game built using Rust

There is a secret number from 1-100 and you have to guess this number.

First, choose a number from 1-100.

If the number you pick is higher than the secret number, it will show "Too big!". Pick a smaller number than the one you entered. If the number you pick is lower than the secret number, it will show "Too small!". Pick a bigger number than the one you entered. If the number you pick is the secret number, it will show "You win!". You win the game and the game ends.

To play

cargo run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published