Coding Tic Tac Toe in Javascript: Part 2 Min-Max AI
Channel:
Subscribers:
254,000
Published on ● Video Link: https://www.youtube.com/watch?v=x_Je9i3aKNk
Hey coders,
In part two of this tic tac toe tutorial, we will cover how to implement the min-max algorithm for AI. Before, we used a very basic AI which picked the first open space, but min-max allows the AI to actually look ahead at the best possible scenarios in order to maximize their chance of winning, and minimize your chance of winning.
Thanks for watching!
Other Videos By Web Dev Cody
Tags:
min-max
minmax
tic-tac-toe
tic tac toe
programming
software
game development
game theory
javascript
coding
AI
artificial intelligence