This TicTacToe game is a simple, text-based version of the classic game implemented in Python. It allows two players to play TicTacToe against each other on the command line.
- Clone this repository to your local machine using
git clone https://github.com/your-username/tictactoe-python.git
. - Navigate to the cloned directory.
- Run
python ticTacToe.py
to start the game.
- Python 3.x
- Choose the 'Play' option from the main menu.
- Player 1 will use 'X' and Player 2 will use 'O'.
- Players simply enter the number of the square they want to mark.
-
- The first player to get 3 of their marks in a row (up, down, across, or diagonally) is the winner.
play.mp4
Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.