Loading repository data…
Loading repository data…
shaileshmathivanan / repository
Web-based Tic-Tac-Toe game with an unbeatable AI using Minimax and Alpha-Beta Pruning algorithms. Includes real-time performance comparison of both methods.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Interactive Game AI – Tic-Tac-Toe System using Adversarial Search Algorithms
A gaming system requires an intelligent opponent capable of making optimal decisions in a Tic-Tac-Toe game.
Traditional rule-based approaches lack strategic depth. This project implements an AI-based solution using Minimax Algorithm and Alpha-Beta Pruning to ensure optimal gameplay.
The AI evaluates all possible moves and always selects the best one, making it unbeatable.
This is a web-based Tic-Tac-Toe game where a human player competes against an AI.
The system also provides real-time comparison between two algorithms:
Game Engine (ai.py) Implements Minimax and Alpha-Beta algorithms
Web Server (app.py) Flask backend handling routes and APIs
Frontend (HTML, CSS, JavaScript) Interactive UI for gameplay
Comparison Module Displays algorithm performance metrics
Evaluation Scores:
Move sequence:
Draw (Optimal play from both sides)
pip install -r requirements.txt
python app.py
http://127.0.0.1:5000
Shailesh M GitHub: https://github.com/shaileshmathivanan
This project is for educational purposes.