A simple two-player Tic Tac Toe game that runs in the terminal. Players choose positions from 1 to 9, and the board updates after every move.
- Two-player gameplay
- Number-based board positions
- Win detection for rows, columns, and diagonals
- Draw detection
- Option to play again after a match
- Python
- Functions
- Loops and conditionals
- Terminal input/output
- Clone the repository.
- Open the project folder.
- Run the game:
python tic_tac_toe_game.py1 | 2 | 3
---------
4 | 5 | 6
---------
7 | 8 | 9
---------
Ashutosh Tiwari