This project is to create an AI which can play Tic Tac Toe and cannot be defeated at all.
The project uses the minimax algorithm for the AI. One can learn more about the minimax algorithm from these links.
- http://neverstopbuilding.com/minimax
- http://www.geeksforgeeks.org/minimax-algorithm-in-game-theory-set-3-tic-tac-toe-ai-finding-optimal-move/
This project uses Vanilla Javascript for implementing the algorithm.
Other features of this project include playing two player game and a one player game with easy difficulty.(AI just does some random moves)