Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Minimax algorithm

I have a simple question regarding the Minimax algorithm: for example for the tic-tac-toe game, how do I determine the utility function's for each player plays? It doesn't do that automatically, does it? I must hard-code the values in the game, it can't learn them by itself, does it?

like image 739
devoured elysium Avatar asked Oct 19 '09 13:10

devoured elysium


People also ask

What is the minimax algorithm in AI?

The min max algorithm in AI, popularly known as the minimax, is a backtracking algorithm used in decision making, game theory and artificial intelligence (AI). It is used to find the optimal move for a player, assuming that the opponent is also playing optimally.

How does minimax algorithm work?

The minimax algorithm helps find the best move, by working backwards from the end of the game. At each step it assumes that player A is trying to maximize the chances of A winning, while on the next turn player B is trying to minimize the chances of A winning (i.e., to maximize B's own chances of winning).

What is minimax algorithm in tic tac toe?

The key to the Minimax algorithm is a back and forth between the two players, where the player whose "turn it is" desires to pick the move with the maximum score. In turn, the scores for each of the available moves are determined by the opposing player deciding which of its available moves has the minimum score.

What is heuristic minimax algorithm?

The minimax algorithm predicts the state of the board ahead of time in order to make the best move. Minimax search algorithm is good at predicting its opponent's move and then beating it, but the runtime of minimax is always an issue. In order to shorten its runtime, this paper applies alpha-beta pruning to minimax.


1 Answers

No, a MiniMax does not learn. It is a smarter version of a brute-force tree search.

like image 93
Henk Holterman Avatar answered Oct 06 '22 16:10

Henk Holterman