GeorgeSeif/Tic-Tac-Toe-AI
A tic tac toe game with an AI opponent using minimax algorithm and alpha-beta pruning
This program provides an unbeatable Tic-Tac-Toe opponent, allowing you to play against an AI that guarantees it will never lose. You input your moves on the board, and the AI responds with its best possible move, ensuring at least a draw. This is for anyone looking for a challenging Tic-Tac-Toe opponent or to demonstrate game AI principles.
No commits in the last 6 months.
Use this if you want to play a perfect game of Tic-Tac-Toe against a computer or see an AI strategy in action.
Not ideal if you're looking for a game with adjustable difficulty levels or for an AI that can be beaten easily.
Stars
64
Forks
34
Language
C++
License
—
Category
Last pushed
Oct 29, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/GeorgeSeif/Tic-Tac-Toe-AI"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
Cledersonbc/tic-tac-toe-minimax
Minimax is a AI algorithm.
LazoVelko/Tic-Tac-Toe
An unbeatable game of Tic Tac Toe.
GantMan/tictactoe-ai-tfjs
Train your own TensorFlow.js Tic Tac Toe
mscroggs/MENACE
Machine Educable Noughts And Crosses Engine
jamesq9/Tic-Tac-Toe-Machine-Learning-Using-Reinforcement-Learning
A Python Program to implement Machine Learning for the Game Tic Tac Toe (3x3) using...