/Tic-Tac-Toe-AI

Making a AI based tic tac toe solver using MinMax Algorithm

Primary LanguageJavaScriptMIT LicenseMIT

Tic-Tac-Toe-AI

Making a AI based tic tac toe solver using MinMax Algorithm

Min Max Algorithm

What is MinMax?

MinMax Algorithm is a really popular algorithm used in two player and turn based games like chess, Tic-Tac-Toe and Mancala.

what is it used for ?

A minimax algorithm is a recursive program written to find the best gameplay that minimizes any tendency to lose a game while maximizing any opportunity to win the game.

image

image

More indepth article on how does minmax algorithm works:

https://www.freecodecamp.org/news/how-to-make-your-tic-tac-toe-game-unbeatable-by-using-the-minimax-algorithm-9d690bad4b37

You can also try it out!

https://pravesh-mansharamani.github.io/Tic-Tac-Toe-AI/