Automatic Game-Playing
Each state typically has a value (it’s so called static value.)
The two players are called MIN and MAX.
MIN tries to minimize the static value, while MAX tries to make it as large as possible.
In many games, the state is equivalent or almost equivalent to a board position.
MIN and MAX alternate turns, and each makes a move in accordance with its goals of minimizing or maximizing.
The space of possible states is explored using a game tree or minimax search tree.
Each level of the tree is either a MIN level or a MAX level, depending on whose move it is.