- The game is played on a 3x3 grid.
- Two players take turns marking a square with their respective symbols (X or O).
- The first player to get three of their symbols in a row (horizontally, vertically, or diagonally) wins the game.
- If all squares are filled and no player has won, the game ends in a draw.
- Fork the repo by clicking the fork logo the on top right
- Clone the repo
git clone [email protected]:AseanK/beginner-python-games.git
- Head to the 'tic_tac_toe' folder
- Run the file using python command
python tic_tac_toe.py
- Follow the prompts in the console to play the game. Input the row and column numbers to place your symbol on the grid.
Have fun playing Tic-Tac-Toe!