This is a simple implementation of the classic Tic Tac Toe game using Python's Tkinter library for the graphical user interface.
Two-player game: Player vs AI. Simple AI opponent. Visual indication of winning combinations. Restart option to play multiple rounds.
Run the tictactoe.py file. The game window will appear. Player X starts the game. Click on an empty cell to place X. The AI (Player O) will make its move automatically after Player X. The game continues until either player wins or there is a draw. After the game ends, you can restart the game by clicking the "restart" button.
tictactoe.py: Contains the Python code for the Tic Tac Toe game. This file, providing instructions and information about the game.\
Python 3.x Tkinter library (usually comes pre-installed with Python)
To play the game, simply run the tictactoe.py file. The game window will open, and you can start playing immediately.
[22k-4005 Mujtaba Saqib BAI-4A] [22k-4115 Hilal Aziz BAI-4A] [22k-8721 Attaullah Ansar BAI-4A]