Play a game of guessing the secret number.
This is a C# console application. The computer generates a random number between 1 and 10 by default. You can edit the range in the code. You get 4 tries to correctly guess the number. You can edit the number of tries in code.
Enjoy.
Credit: jupiter104 (March 2019)