Minimax Search
Games as search “max” and “min” two players. Max moves frist in the game. The game take turns until it’s over. Max uses search tree to determine “best” next move. Definitions initial state: set-up defined by rules player(s): which player has the move in state s actions(s): set of legal moves in state results(s, a): transition model defines result of a move terminal_test(s): true if the game is finished; false otherwise utility(s, p): the numerical value of terminal state s for player p win: 1, lose :-1, draw: 0 Procedure generate the whole game tree to leaves apply utility function to leaves back-up values from leaves toward the root: Max node computes the max of its child values Min node computes the min of its chidl values at root: choose move leading to the child of highest value e....