AI-powered Tic-Tac-Toe game agent using Python. We'll use the Minimax algorithm for the AI to make intelligent decisions and Pygame for GUI
**Game UI
Key Features
Minimax Algorithm: Enables the AI to make optimal moves by recursively evaluating possible game states.
Interactive Gameplay: Built with Pygame to allow players to click on the board to make their moves.
Game Rules: Handles winning conditions, draw situations, and player turns.
Dependencies: requirements.txt
pygame==2.1.2
- How to Run: Install dependencies:
pip install -r requirements.txt
- Run the game
python tic_tac_toe.py
Future Enhancements
Add more games (e.g., Connect Four, Checkers).
Incorporate Reinforcement Learning to train the agent for more complex games.
Add a scoring system and multiplayer mode.