Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xataru/guessing_game

Simple command-line game written in Rust
https://github.com/0xataru/guessing_game

rust

Last synced: 7 days ago
JSON representation

Simple command-line game written in Rust

Awesome Lists containing this project

README

        

# Guess The Number
![GitHub top language](https://img.shields.io/github/languages/top/markraiter/guessing_game)

This is a simple command-line game written in Rust. The game generates a random number between 1 and 100, and your task is to guess it!

## How to Play
Run the program.
You will be prompted to input your guess.
If your guess is too low, the program will output "Too small!". If your guess is too high, it will output "Too big!".
Keep guessing until you find the correct number. When you guess correctly, the program will output "You win!".
## Requirements
- Rust programming language
## How to Run
1. Clone this repository.
2. Navigate to the project directory.
3. Run cargo run to start the game.