A simple Tic-Tac-Toe game built using Python's Tkinter library.
It allows two players to play alternately with X and O on a 3x3 grid.
The game highlights the winner's combination and also detects draws.
A Restart button is included for multiple rounds without restarting the app.
- Two-player gameplay (X vs O)
- Win detection with green highlight
- Draw detection
- Restart button to reset the board
- Clean and simple Tkinter GUI
-
Clone the repository:
git clone https://github.com/AdarshZolekar/Tic-Tac-Toe-Game.git
-
Run the script:
-
Open a terminal or command prompt.
-
Navigate to the project directory:
cd Tic-Tac-Toe-Game
-
Run the main script:
python Tic-Tac-Toe-Game.py
-
Follow the on-screen instructions and start playing!
-
-
Add a scoreboard to track wins and draws
-
Add AI player mode for single-player gameplay
This project is open-source under the MIT License.
Feel free to open issues or submit pull requests for improvements or bug fixes!