Who should guess [p-program, u-user]? p
Pick a random number! (0..100)
If your number is less, enter '-', if correct '='
1) 50:
2) 75: -
3) 62: -
4) 56: -
5) 53: -
6) 51: =
Guessed number: 51
Who should guess [p-program, u-user]? u
Guess the number! (1..100)
1) Your guess: 50
You guessed: 50
Too big
2) Your guess: 25
You guessed: 25
Too small
3) Your guess: 32
You guessed: 32
Too big
4) Your guess: 28
You guessed: 28
You win!
ybda/guess_game
Simple guessing game where you could choose who should guess (you or program)
RustGPL-3.0