A fun, modern, and beginner-friendly Tic-Tac-Toe game built with Python .
Play with your Friend or challenge a Robot ๐ค that thinks before it moves!
- ๐ฏ Play with Friend or Robot (AI)
- ๐ Switch between Dark Mode and Light Mode
- ๐ Restart the game anytime
- ๐ Go Back to select another mode
- ๐จ Beautiful and modern Tkinter UI
- ๐ก Smart Robot that blocks and wins strategically
# Step 1: Clone this repository git clone https://github.com/yourusername/tic-tac-toe.git # Step 2: Go to the project folder cd tic-tac-toe # Step 3: Run the Python file python tic_tac_toe.py
- Player D always starts first.
- Players take turns marking spaces in a 3ร3 grid.
- The first to get three marks in a row (horizontally, vertically, or diagonally) wins!
- If all spaces are filled and no one wins โ itโs a tie ๐ค
tic-tac-toe/ โ โโโ tic_tac_toe.py โโโ README.md โโโ assets/
This project is licensed under the MIT License.
Feel free to use, modify, and distribute it with credit to the author.
