A simple number guessing game built with Python and KivyMD. The player has to guess a randomly chosen number between 1 and 20. After each guess, the app tells you if the correct number is higher or lower. You have only 3 tries to guess the number!
- Modern UI using KivyMD
- Random number between 1 and 20
- Input validation for numbers only
- Feedback after each guess (higher/lower)
- Game ends after 3 incorrect tries or a correct guess
- Python 3.7+
- Kivy
- KivyMD
- Install dependencies:
pip install kivy kivymd
- Download or clone this repository.
Run the game with:
python main.py- Enter your guess (a number between 1 and 20) in the input field.
- Click the Guess button.
- The app will tell you if the correct number is higher or lower.
- You have 3 tries to guess the correct number.
Enjoy the game!