tic-tac-toe / README.md
omarmouqat's picture
Update README.md
2a3001d verified
---
title: "Tic-Tac-Toe with Minimax AI"
emoji: "๐ŸŽฎ"
colorFrom: "blue"
colorTo: "purple"
sdk: "gradio"
app_file: "app.py"
pinned: false
license: "mit"
tags:
- game
- ai
- minimax
- gradio
- python
---
# ๐ŸŽฎ Tic-Tac-Toe with Minimax AI
This project is a simple Tic-Tac-Toe game with an AI opponent using the Minimax algorithm, deployed using Hugging Face Spaces and Gradio.
## ๐Ÿš€ How to Play
- You play as **X** and the AI plays as **O**.
- Enter the row and column to place your move.
- The AI responds instantly, making its best move using the Minimax algorithm.
## ๐Ÿ—๏ธ Tech Stack
- **Python**: Game logic and AI.
- **Gradio**: User Interface.
- **Hugging Face Spaces**: Deployment.
## ๐Ÿ“ฅ Installation (Optional)
If you want to run it locally:
```bash
git clone https://huggingface.co/spaces/YOUR_USERNAME/tic-tac-toe
cd tic-tac-toe
pip install -r requirements.txt
python app.py