Skip to content

A minimalistic number guessing game implemented in the Rust programming language.

Notifications You must be signed in to change notification settings

sandy2108/Guessing-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Simple Guessing Game in Rust

A minimalistic number guessing game implemented in the Rust programming language.

How to Play

  1. Clone this repository to your local machine.
  2. Navigate to the project directory.
  3. Run the game using cargo run.

Gameplay

  • The program generates a random number between 1 and 100.
  • You need to guess the secret number.
  • After each guess, the program provides feedback on whether the guess is too small, too big, or correct.
  • The game continues until you guess the correct number or choose to quit.
  • It will show how many attempts you have used.

Features

  • Uses the rand crate to generate a random number.
  • Utilizes the colored crate for colorful console output.
  • Handles invalid input gracefully.
  • Allows the user to quit the game at any time.

Feel free to explore, contribute, and have fun guessing the number!


About

A minimalistic number guessing game implemented in the Rust programming language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages