#computer #numbers #guess #game #fun

bin+lib guessing_game_2022_02_28

A fun game where you guess what number the computer has chosen

2 releases

0.1.2 Feb 28, 2022
0.1.1 Feb 28, 2022

#177 in #guess

MIT/Apache

3KB

What to do?

Guess the number randomly chosen by the computer.

If the input value is too small, "Too small!" will be displayed, and if it is too big, "Too big!

If the number chosen by the computer and the input value are the same, "You win!" will be displayed and the game will end.

Execution method

  1. Type $ cargo run in the terminal.
  2. When the terminal says "Guess the number! Please input your guess.".
  3. Type in a number and guess the number.

Dependencies

~330–520KB