A fun and interactive Python game built with Tkinter where you test your ability to guess RGB colors!
- Click "New Color" --- a random color appears on screen.\
- Enter your guess for R (Red), G (Green), and B (Blue) values (each between 0--255).\
- Press "Guess" to check how close your guess is.\
- The app calculates the Euclidean distance between your guess and the target color.\
- If you guess correctly, a new color is automatically generated!
- Simple Tkinter GUI\
- Random RGB color generation\
- Input validation (ensures integers between 0--255)\
- Displays distance feedback\
- Auto-refreshes when correct
- Python 3.x\
- Tkinter (comes pre-installed with Python)
- Save the script as
rgbgame.py\ - Open a terminal in the folder\
- Run:
python rgbgame.py