A simple and fun Python game built with Tkinter where the user tries to guess a randomly generated number between 1 and 6. It features a clean graphical interface, instant feedback, and input validation to ensure valid guesses. This project demonstrates basic GUI programming concepts in Python using the tkinter and random modules.
- π¨ Clean and modern GUI made with Tkinter
- π’ Random number generation between 1β6
- βοΈ Input validation for non-numeric or out-of-range entries
- π¬ Instant feedback for correct or incorrect guesses
- πͺΆ Lightweight and beginner-friendly
Make sure you have Python 3 installed, then run the script:
python guess-number.py- Python 3
- Tkinter
- random
Pouya
GitHub Profile β
