About 140,000 results
Open links in new tab
  1. Minimax Algorithm in Game Theory | Set 1 (Introduction)

    Jun 13, 2022 · Minimax is a kind of backtracking algorithm that is used in decision making and game theory to find the optimal move for a player, assuming that your opponent also plays …

  2. Minimax in Python: Learn How to Lose the Game of Nim

    The minimax algorithm can be used to find optimal strategies in many different games. In this tutorial, you'll learn how to implement minimax in Python while playing the game of Nim. You'll …

  3. Minimax-algorithm (PYTHON-VERSION) - GitHub

    The algorithm search, recursively, the best move that leads the Max player to win or not lose (draw). It consider the current state of the game and the available moves at that state, then for …

  4. Implementing the Minimax Algorithm for AI in Python

    Jan 31, 2025 · Learn to code an unbeatable Tic-tac-toe AI using the Minimax algorithm in Python. This tutorial covers theory, implementation, and optimization, ideal for game AI enthusiasts.

  5. Minimax with Alpha-Beta Pruning in Python - Stack Abuse

    Aug 24, 2023 · The Minimax algorithm is a relatively simple algorithm used for optimal decision-making in game theory and artificial intelligence. Again, since these algorithms heavily rely on …

  6. algorithm - Minimax: how can I implement it in Python? - Stack Overflow

    Oct 16, 2010 · There is an implementation of minimax as part of an othello game here (and for browsers here). Stepping through this with a debugger and/or through use of logging …

  7. Implementing Minimax Tree Search - TheSharperDev

    Lets implement a minimax search in python! We first need a data structure to hold our values. We create a Node class, it can hold a single value and links to a left and right Node. Then we’ll …

  8. Minimax algorithm and alpha-beta pruning - mathspp

    Nov 21, 2021 · In a short, but unhelpful sentence, the minimax algorithm tries to maximise my score, while taking into account the fact that you will do your best to minimise my score. …

  9. Implementing Minimax and Alpha-Beta Pruning Using Python

    Oct 28, 2016 · How we solve: To solve the problem of looking at every single node, we can implement a pruning improvement to Minimax, called Alpha-Beta. Alpha-Beta Pruning …

  10. A simple, recursive, implementation of the MiniMax algorithm in Python.

    A simple, recursive, implementation of the MiniMax algorithm in Python. Made for an assigment of the Hellenic Open Univerciry, PLH31 - "Artificial Intelligence - Applications". MiniMax is used in …

  11. Some results have been removed