Tic Tac Toe is a classic two-player game where each player takes turns marking a 3x3 grid with their symbol, either X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner.
This repository contains a Tic Tac Toe game that offers two options:
- Human vs Human
- Human vs Computer
The computer player uses the Minimax and Negamax algorithms to make its moves. These algorithms are used to search the game tree for the best possible move. As a result, the computer player is very difficult to beat.
- Human vs Human and Human vs Computer modes
- Minimax and Negamax algorithms for computer player
- Easy to use interface
To play the game, simply clone the repository and run the index.html file. You can then choose whether you want to play against another human or the computer.