AI Minmax Algo
AI Minmax Algo
AI Minmax Algo
PLAYING)
By –
Saurabh R, 54
Rohit K, 31
Nikhil A,2
Atharva P,50
The Two players are considered as MAX(The player) and MIN(The opponent).
Max tries to maximize his score and Min tries to minimize it.
Number of Players : : 2 {MAX and
MIN}.
As seen in the previous slide, each leaf node had a value associated with it.
But in the real world when we are creating a program to play Tic-Tac-Toe, Chess, etc.
we need to implement a function that calculates the value of the board depending on
the placement of pieces on the board