min_max.ppt - Min-Max Algorithm Winning Tic-tac-toe ● ●...

This preview shows page 1 - 6 out of 14 pages.

Min-Max Algorithm
Image of page 1

Subscribe to view the full document.

2 Winning Tic-tac-toe Anticipate the implications of your move Avoid moves which could enable your opponent to win Attempt moves which would force your opponent to lose, so you win.
Image of page 2
3 The Problem Your Moves My Moves My Moves Your Moves Your Moves My Moves My Moves My Moves . . . . . Your Moves . . . . .
Image of page 3

Subscribe to view the full document.

4 Example: the Minimax Algorithm In many games, one players loss is another player's gain. A winning strategy for this type of game is to minimize the maximum potential gain of your opponent and assume your opponent is following the same strategy .
Image of page 4
5 Example: the Minimax Algorithm Consider all possible moves to the bitter end Pick the move that leads to a win, if possible Since your opponent is following the same strategy, and game moves eventually end the game, this algorithm can be implemented recursively.
Image of page 5

Subscribe to view the full document.

6 Example game: turn-taking zero-sum game: two players: Max (plays first), Min n tokens rules: take 1, 2 or 3 tokens start state: 5 tokens, Max to play goal: take last token
Image of page 6
You've reached the end of this preview.
  • Fall '17
  • abc
  • Minimax, 2 Min, 4 min

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern