Skip to content

## 🎲 Guess the Number β€” A simple Python game using Tkinter where you guess a random number between 1 and 6. It provides instant feedback and input validation, demonstrating basic GUI programming concepts in Python with the tkinter and random modules.

License

Notifications You must be signed in to change notification settings

POUYSF/Python-GUI-random

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

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

Repository files navigation

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.

🧩 Features

  • 🎨 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

πŸš€ How to Run

Make sure you have Python 3 installed, then run the script:

python guess-number.py

πŸ› οΈ Technologies Used

  • Python 3
  • Tkinter
  • random

πŸ“· Preview

App Screenshot

πŸ‘¨β€πŸ’» Author

Pouya
GitHub Profile β†’

About

## 🎲 Guess the Number β€” A simple Python game using Tkinter where you guess a random number between 1 and 6. It provides instant feedback and input validation, demonstrating basic GUI programming concepts in Python with the tkinter and random modules.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages