Skip to content

The computer thinks of a number and you try to guess it. The program gives you feedback on whether you guessed a higher or lower number. 🎈

License

Notifications You must be signed in to change notification settings

tothlevente/number-guesser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Number guesser 🎈

The computer thinks of a number and you try to guess it.

The program gives you feedback on whether you guessed a higher or lower number.

Available scripts:

  • dotnet run
  • dotnet build
  • dotnet restore

Explanation:

  1. Random Number Generation: A Random object is used to generate a random number between 1 and 100.
  2. User Guess: The user's guess is read from the console.
  3. Feedback: The program provides feedback on whether the guess is too high or too low.
  4. Loop: The program continues looping until the user guesses the correct number.
  5. Attempt Counting: The program counts the number of attempts the user makes to guess the number.

License:

  • This project is licensed under MIT.

For more information please visit the license files.

About

The computer thinks of a number and you try to guess it. The program gives you feedback on whether you guessed a higher or lower number. 🎈

Topics

Resources

License

Stars

Watchers

Forks

Languages