/Dooz

This is a simple implementation of the classic game of Tic-Tac-Toe using Python and Tkinter GUI. The game allows two players to take turns marking the spaces on a 3x3 board with their chosen symbol, X or O. The first player to get three of their symbols in a row, column, or diagonal wins the game.

Primary LanguagePythonMIT LicenseMIT

tic_tac_toe_game

This is a simple implementation of the classic game of Tic-Tac-Toe using Python and Tkinter GUI. The game allows two players to take turns marking the spaces on a 3x3 board with their chosen symbol, X or O. The first player to get three of their symbols in a row, column, or diagonal wins the game.

Installing

1 - Clone the repository to your local machine using the following command:

git clone https://github.com/<irealmatin>/tic-tac-toe-game.git

2- Change the directory to the project folder:

cd tic_tac_toe_game

3-Install the dependencies:

pip install -r requirements.txt

4 - Run the game:

python tic_tac_toe.py

How to Play

1- Choose your symbol - X or O.

2- Take turns placing your symbol on the board by clicking on a cell.

3- The first player to get three of their symbols in a row, column, or diagonal wins the game.

4- If all cells are filled and no player has won, the game is a tie.