- The Min-Max algorithm evaluates decision-based on the current situation of the game.
- This algorithm needs a deterministic environment with exact information.
- Min-Max algorithm directly implements the defining equation.
- Every time based on the successor state min-max value is calculated using simple recursive computation.
1)Create the entire game tree including all the terminal states.
2)For every terminal state, find out utility. This means that 1 means win and 0 means draw.
3)Apply min and max operators on the nodes of the current stage and propagate the utility value upward in the tree.
4)With the max utility value, select the action at root node using min-max decision.
First iteration Procedure:
Second iteration Procedure:
Again Min Procedure:
If we keep going, the final answer will be 10.