A simple Tic Tac Toe game in Python for two players or against an AI. Runs in the terminal with a clean interface. Players take turns marking spots until a winner is determined or the game ends in a draw. Features input validation, clear board display, and an optional AI opponent for solo play.
- Two-player mode
- AI opponent (optional)
- Simple command-line interface
- Input validation to prevent invalid moves
- Clear board display
- Clone this repository:
git clone https://github.com/your-username/tic-tac-toe-python.git cd tic-tac-toe-python