/TicTacToe-python

A simple, text-based TicTacToe game in Python allowing two players to compete in the classic game through a command-line interface.

Primary LanguagePython

TicTacToe Python Game

Description

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.

Main Screen

Live Preview

Can be viewed via Replit.

Installation

  1. Clone this repository to your local machine using git clone https://github.com/your-username/tictactoe-python.git.
  2. Navigate to the cloned directory.
  3. Run python ticTacToe.py to start the game.

Requirements

  • Python 3.x

How to Play

  1. Choose the 'Play' option from the main menu.
  2. Player 1 will use 'X' and Player 2 will use 'O'.
  3. Players simply enter the number of the square they want to mark.
    1. The first player to get 3 of their marks in a row (up, down, across, or diagonally) is the winner.
play.mp4

Contributing

Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.

License

MIT