##๐ฎ Tic Tac Toe Game โ Python Tkinter
This is a simple and colorful Tic Tac Toe game built using Python and Tkinter. It supports two players (X and O), shows the winner correctly, and automatically resets after each game.
##โจ Features
๐ฅ Player X in red
๐ข Player O in green
๐ฏ Correct winner detection
๐ค Draw detection
๐ Automatic board reset
๐จ Light blue background with a clean UI
##๐ Requirements
Python 3.x
Tkinter (comes pre-installed with Python)
##
Save the file as:
tictactoe.py
Open terminal or command prompt.
Run:
python tictactoe.py
##๐ฎ How to Play
Click on any empty box to place your mark.
Players take turns: X goes first, then O.
When a player wins, a message box shows the winner.
If the board fills up with no winner, it shows a draw.
The game resets automatically after each round.
##๐ What You Learn from This Project
Creating GUI apps using Tkinter
Handling button clicks
Using functions and global variables
Implementing game logic in Python