Two players, A and B, take turns playing.
We are given a scoring function f, which estimates the given position in the fields P. Large values of f (P) are better for A and worse for B (that is, f (P) is an estimate of how “good” P is for A without any or further searches).
Consider the position of the board P.
P - node (.. P - , , ), f (P) node.
P node C1,..., Cn. , S1,..., Sn.
A P, P max {S1,..., Sn}, A , .
B P, P min {S1,..., Sn}, B , .
, .
, -, () , . -- , A , B , M, - , M, B A !