MullOverThings

Useful tips for everyday

# How is minimax strategy used in games explain the strategy on the basis of game playing?

## How is minimax strategy used in games explain the strategy on the basis of game playing?

In game theory, minimax is a decision rule used to minimize the worst-case potential loss; in other words, a player considers all of the best opponent responses to his strategies, and selects the strategy such that the opponent’s best strategy gives a payoff as large as possible.

## What games can use minimax?

Minimax is a recursive algorithm which is used to choose an optimal move for a player assuming that the other player is also playing optimally. It is used in games such as tic-tac-toe, go, chess, Isola, checkers, and many other two-player games.

## How can minimax also be extended for game of chance?

This can be extended if we can supply a heuristic evaluation function which gives values to non-final game states without considering all possible following complete sequences. We can then limit the minimax algorithm to look only at a certain number of moves ahead.

## How do you do minimax algorithm?

3. Minimax Algorithm

1. Construct the complete game tree.
2. Evaluate scores for leaves using the evaluation function.
3. Back-up scores from leaves to root, considering the player type: For max player, select the child with the maximum score.
4. At the root node, choose the node with max value and perform the corresponding move.

## How minimax algorithm is used in Game Search explain with an example?

Mini-Max algorithm uses recursion to search through the game-tree. Min-Max algorithm is mostly used for game playing in AI. Such as Chess, Checkers, tic-tac-toe, go, and various tow-players game. The minimax algorithm proceeds all the way down to the terminal node of the tree, then backtrack the tree as the recursion.

## How is minimax used in a strategy game?

But minimax can only know either players’ advantage if it knows the paths in the tree that lead to a victory for either player. This means minimax must traverse to the very bottom of the tree for every possible series of moves. Next, it has to assign some score (e.g., +1 for a win and -1 for a loss), and propagate those numbers up through the tree.

## Can a random move affect the minimax algorithm?

Making moves at random or trying to lose might actually interfere with the algorithm effectiveness. The game must be purely strategic and cannot incorporate any sort of chance component ( i.e., Monopoly, Poker, Tetris). Note: Variations of this algorithm can be used to account for the “luck factor” .

## How to make artificial intelligence using the minimax algorithm?

Well look no further than this Instructable for it will show you how to make a simple but effective artificial intelligence (AI) using the Minimax Algorithm! By using the Minimax Algorithm, the AI makes well planned and thought out moves (or at least mimics a thought process).

## Who are the maximizing and minimizing players in the algorithm?

In the algorithm, we call the two players a maximizing player and a minimizing player. The AI would be the maximizing player since it wants to get the most points for itself. The opponent would be the minimizing player since the opponent is trying to make the move where the AI gets the fewest points.