This is a simple implementation of the classic Tic Tac Toe game using Python and the customtkinter
library.
-
Clone the Repository:
git clone https://github.com/akashpd390/Tic_Tac_Toe_in_Python_gui.git cd Tic_Tac_Toe_in_Python_gui
-
Install Dependencies: Make sure you have Python installed on your system. Install the required libraries using the following command:
bashCopy code
pip install customtkinter
Run the following command to start the Tic Tac Toe game:
bashCopy code
python tic_tac_toe.py
- The game board is a 3x3 grid.
- Players take turns to place their symbol (X or O) in an empty cell.
- The game continues until one player wins by forming a horizontal, vertical, or diagonal line, or the board is full, resulting in a draw.
- Responsive GUI with customizable layout.
- Winner announcement in a separate pop-up window.
- Reset button to restart the game.
If you'd like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/my-feature
. - Commit your changes:
git commit -am 'Add new feature'
. - Push to the branch:
git push origin feature/my-feature
. - Submit a pull request.
This Tic Tac Toe game is a simple project for educational purposes. Feel free to use and modify the code according to your needs.
Happy gaming!