This is a simple console game "Guess an number" from SoftUni Fundamentals course with Python
The simple console game Guess A Number". "Guess A Number" is a game in which your opponent, "the computer", chooses a random number between "1 and 10", and your task is to guess this number. After each number you enter, the computer will give you a hint of whether the number is greater or less than the number you selected until you guess the correct number. You will have 5 attempts and if you do not guess the number of the computer you will loose the game. If you try to add text instead of a number you will receive invalid input, try again.
Example screenshots from the game:
You can play the game directly in your Web browser here: