Welcome to the Tic Tac Toe Game repository! This is a simple command-line implementation of the classic Tic Tac Toe game in Python. The game is designed for two players to take turns and try to get three of their symbols in a row, either horizontally, vertically, or diagonally.
- Clone or download the repository to your local machine.
- Open a terminal or command prompt and navigate to the repository directory.
- Run the
tic_tac_toe.py
script using the Python interpreter:python tic_tac_toe.py
. - Follow the on-screen instructions to play the game.
- After the game ends, you can choose to restart or exit the game.
- Player vs Player mode: Two players can take turns to play the game.
- Win Detection: The game automatically detects if a player has won by getting three symbols in a row.
- Draw Detection: If all cells are filled and no player has won, the game will end in a draw.
- Restart Option: After the game ends, you can choose to restart and play another round.
- Python 3.x (https://www.python.org/downloads/)
- Clone the repository: