Tic Tac Toe is a classic game known for its simplicity and strategic depth. This project aims to provide a simple implementation of the game in Python using the tkinter library for creating a graphical user interface.
- Interactive graphical user interface.
- Two-player gameplay.
- Simple and intuitive controls.
- Win detection for rows, columns, and diagonals.
- End-game detection for a tie.
- Modular code structure for easy maintenance and customization.
- Run the Script: Execute the script
tic_tac_toe.py
to start the game. - Make a Move: Click on any empty cell in the grid to place your symbol (X or O). Players take turns making moves.
- Win the Game: The first player to get three of their symbols in a row (horizontally, vertically, or diagonally) wins the game.
- End in a Tie: If all cells are filled and no player has won, the game ends in a tie.
- Python: Programming language used for game logic.
- tkinter: Python library used for creating the graphical user interface.
This project is licensed under the MIT License, allowing for modification and distribution under certain conditions. Feel free to use and modify the code according to your needs.