SlideShare a Scribd company logo
Welcome To Our Presentation
7X7 Tic Tac Toe Solver
Problem Description :
 Tic Tac Toe (also called Noughts and crosses, Xs and Os, XOX Game) is a very popular
children’s pencil and paper game, which is often enjoyed by many adults, as well.
 Because of its simplicity, the game may seem trivial at first, however, Tic Tac Toe
involves its share of analytics and rapidity.
 The game is a lot of fun for people of all ages and provides one with a great brain
workout too!
 play Tic Tac Toe online with other players or challenge Paper Man, a robot, in order to
win points and obtain a higher ranking!
History of Tic Tac Toe
 An early variation of the game was played in the Roman Empire, around
the 1st century B.C.
 It was called terni lapilli, which means "three pebbles at a time.“
 The game's grid markings have been found chalked all over Roman
ruins.
More Advanced Tic Tac Toe
 A relatively simple game usually played on a grid of 3 x 3 squares
 Tic-tac-toe is mainly enjoyed by children.
 Tic-tac-toe can be made significantly more complex by increasing the size
of the board to 4 x 4, 5 x 5, or even up to a 20 x 20 grid.
 The game is to be played between two people (in this
program between HUMAN and COMPUTER).
 One of the player chooses ‘O’ and the other ‘X’ to mark
their respective cells.
 The game starts with one of the players and the game ends
when one of the players has one whole row/ column/
diagonal filled with his/her respective character (‘O’ or ‘X’).
 If no one wins, then the game is said to be draw.
Rules of the Tic-Tac-Toe game
possible outputs of the game
 Minimax is a decision-making algorithm, typically in two player
games.
 Minimax is a kind of backtracking algorithm.
 The goal of the algorithm is to find the optimal next move.
 In the algorithm, one player is called the maximizer, and the
other player is a minimizer..
 The maximizer works to get the highest score, while the
minimizer tries get the lowest score.
 It is based on the zero-sum game concept. whatever one player
wins the other loses. So, the total score is always zero.
 Examples of such games are chess, poker, checkers, tic-tac-toe.
Introduction to Minimax
Example of minimax Algorithm.
Pseudocode
Explanation
Application: Minimax is the heart of almost every computer board game.
It applies to the games where
Players take turns
Underlying assumption
 Have perfect information But it can work form games with or without
perfect information or chance e.g:
Poker
Monopoles
Dice.
Tic-tac-toe
Chess
checkers
properties of minimax algorithm
 complete ? == Yes (If there is finite )
 Optimal? == Yes (Against an optimal opponent)
 Time complexity?== O(b^m)
 Space Complexity? == O(bm) (depth first exploration)
Minimax Advantages
• Returns an optimal action, assuming perfect opponent play.
• Minimax is the simplest possible(reasonable)game search algorithm.
• It provides a complete possible search if tree is finite.
Minimax Disadvantages
• It is completely in feasible in practice.
• When search tree is too large, we need to limit the search depth
• We have to apply an evaluation function to the cut-off states
Improvement A major problem with this approach is
that we have to explore each and every node even if we
have found Min or Max values.
Solution:
Fortunately, there is an option to find the optimal
move, without exploring every node of the game tree.
We can skip some branches by following some rules,
and it won’t affect the final result.
This process is called pruning. Alpha–beta pruning is a
prevalent variant of minimax algorithm.
Artificial Intelligence

More Related Content

What's hot

Adversarial search
Adversarial searchAdversarial search
Adversarial search
Dheerendra k
 
12 adversal search
12 adversal search12 adversal search
12 adversal search
Tianlu Wang
 
Python Data-Science-Preview
Python Data-Science-Preview Python Data-Science-Preview
Python Data-Science-Preview
whuang022ai
 
Tic Tac Toe Java Development
Tic Tac Toe Java DevelopmentTic Tac Toe Java Development
Tic Tac Toe Java Development
pengqia chen
 
TornadoBrickSmasherUserManual
TornadoBrickSmasherUserManualTornadoBrickSmasherUserManual
TornadoBrickSmasherUserManualClayton Schembri
 
Adversarial search
Adversarial searchAdversarial search
Adversarial searchNilu Desai
 
Artificial intelligence games
Artificial intelligence gamesArtificial intelligence games
Artificial intelligence games
Sujithmlamthadam
 
project on snake game in c language
project on snake game in c languageproject on snake game in c language
project on snake game in c language
Ashutosh Kumar
 
Komputer dasar
Komputer dasarKomputer dasar
Komputer dasarAdhibina
 
report on snake game
report on snake game report on snake game
report on snake game
azhar niaz
 
Lecture 3 MMX3043 Game Design and Development
Lecture 3 MMX3043 Game Design and DevelopmentLecture 3 MMX3043 Game Design and Development
Lecture 3 MMX3043 Game Design and Development
Laili Farhana M.I.
 

What's hot (12)

Adversarial search
Adversarial searchAdversarial search
Adversarial search
 
12 adversal search
12 adversal search12 adversal search
12 adversal search
 
Python Data-Science-Preview
Python Data-Science-Preview Python Data-Science-Preview
Python Data-Science-Preview
 
Tic Tac Toe Java Development
Tic Tac Toe Java DevelopmentTic Tac Toe Java Development
Tic Tac Toe Java Development
 
TornadoBrickSmasherUserManual
TornadoBrickSmasherUserManualTornadoBrickSmasherUserManual
TornadoBrickSmasherUserManual
 
Adversarial search
Adversarial searchAdversarial search
Adversarial search
 
Artificial intelligence games
Artificial intelligence gamesArtificial intelligence games
Artificial intelligence games
 
project on snake game in c language
project on snake game in c languageproject on snake game in c language
project on snake game in c language
 
Komputer dasar
Komputer dasarKomputer dasar
Komputer dasar
 
report on snake game
report on snake game report on snake game
report on snake game
 
Lecture 3 MMX3043 Game Design and Development
Lecture 3 MMX3043 Game Design and DevelopmentLecture 3 MMX3043 Game Design and Development
Lecture 3 MMX3043 Game Design and Development
 
Game e
Game eGame e
Game e
 

Similar to Artificial Intelligence

Recreational mathematics for MichMATYC 10 10
Recreational mathematics for MichMATYC 10 10Recreational mathematics for MichMATYC 10 10
Recreational mathematics for MichMATYC 10 10
nsattler
 
AI3391 Artificial Intelligence UNIT III Notes_merged.pdf
AI3391 Artificial Intelligence UNIT III Notes_merged.pdfAI3391 Artificial Intelligence UNIT III Notes_merged.pdf
AI3391 Artificial Intelligence UNIT III Notes_merged.pdf
Asst.prof M.Gokilavani
 
An introduction to Game Theory
An introduction to Game TheoryAn introduction to Game Theory
An introduction to Game Theory
Paul Trafford
 
Artificial Intelligence- TicTacToe game
Artificial Intelligence- TicTacToe gameArtificial Intelligence- TicTacToe game
Artificial Intelligence- TicTacToe game
manika kumari
 
AI_unit3.pptx
AI_unit3.pptxAI_unit3.pptx
AI_unit3.pptx
G1719HarshalDafade
 
Topic - 6 (Game Playing).ppt
Topic - 6 (Game Playing).pptTopic - 6 (Game Playing).ppt
Topic - 6 (Game Playing).ppt
SabrinaShanta2
 
cai
caicai
Minimax
MinimaxMinimax
Minimax
sabairshad4
 
Learning to Play Complex Games
Learning to Play Complex GamesLearning to Play Complex Games
Learning to Play Complex Gamesbutest
 
MINI-MAX ALGORITHM.pptx
MINI-MAX ALGORITHM.pptxMINI-MAX ALGORITHM.pptx
MINI-MAX ALGORITHM.pptx
NayanChandak1
 
Online gaming culture 2
Online gaming culture 2Online gaming culture 2
Online gaming culture 2
Anton367594
 
Game playing in artificial intelligent technique
Game playing in artificial intelligent technique Game playing in artificial intelligent technique
Game playing in artificial intelligent technique
syeda zoya mehdi
 
Maths_GameSingleSlide.ppt
Maths_GameSingleSlide.pptMaths_GameSingleSlide.ppt
Maths_GameSingleSlide.ppt
ConieHipolito5
 
When Random is too Random
When Random is too RandomWhen Random is too Random
When Random is too Random
DevGAMM Conference
 
AI Lecture 5 (game playing)
AI Lecture 5 (game playing)AI Lecture 5 (game playing)
AI Lecture 5 (game playing)
Tajim Md. Niamat Ullah Akhund
 
Presentation sanlab workshops
Presentation sanlab workshopsPresentation sanlab workshops
Presentation sanlab workshopsArtur Roszczyk
 
Modelling and implementation of 9tka game with MaxN algorithm
Modelling and implementation of 9tka game with MaxN algorithmModelling and implementation of 9tka game with MaxN algorithm
Modelling and implementation of 9tka game with MaxN algorithm
TELKOMNIKA JOURNAL
 
Two player games
Two player gamesTwo player games
Two player games
Subash Chandra Pakhrin
 

Similar to Artificial Intelligence (20)

Recreational mathematics for MichMATYC 10 10
Recreational mathematics for MichMATYC 10 10Recreational mathematics for MichMATYC 10 10
Recreational mathematics for MichMATYC 10 10
 
AI3391 Artificial Intelligence UNIT III Notes_merged.pdf
AI3391 Artificial Intelligence UNIT III Notes_merged.pdfAI3391 Artificial Intelligence UNIT III Notes_merged.pdf
AI3391 Artificial Intelligence UNIT III Notes_merged.pdf
 
An introduction to Game Theory
An introduction to Game TheoryAn introduction to Game Theory
An introduction to Game Theory
 
AI Lesson 07
AI Lesson 07AI Lesson 07
AI Lesson 07
 
Artificial Intelligence- TicTacToe game
Artificial Intelligence- TicTacToe gameArtificial Intelligence- TicTacToe game
Artificial Intelligence- TicTacToe game
 
AI_unit3.pptx
AI_unit3.pptxAI_unit3.pptx
AI_unit3.pptx
 
Topic - 6 (Game Playing).ppt
Topic - 6 (Game Playing).pptTopic - 6 (Game Playing).ppt
Topic - 6 (Game Playing).ppt
 
cai
caicai
cai
 
Minimax
MinimaxMinimax
Minimax
 
Learning to Play Complex Games
Learning to Play Complex GamesLearning to Play Complex Games
Learning to Play Complex Games
 
MINI-MAX ALGORITHM.pptx
MINI-MAX ALGORITHM.pptxMINI-MAX ALGORITHM.pptx
MINI-MAX ALGORITHM.pptx
 
Online gaming culture 2
Online gaming culture 2Online gaming culture 2
Online gaming culture 2
 
Game playing in artificial intelligent technique
Game playing in artificial intelligent technique Game playing in artificial intelligent technique
Game playing in artificial intelligent technique
 
Maths_GameSingleSlide.ppt
Maths_GameSingleSlide.pptMaths_GameSingleSlide.ppt
Maths_GameSingleSlide.ppt
 
When Random is too Random
When Random is too RandomWhen Random is too Random
When Random is too Random
 
AI Lecture 5 (game playing)
AI Lecture 5 (game playing)AI Lecture 5 (game playing)
AI Lecture 5 (game playing)
 
Presentation sanlab workshops
Presentation sanlab workshopsPresentation sanlab workshops
Presentation sanlab workshops
 
Modelling and implementation of 9tka game with MaxN algorithm
Modelling and implementation of 9tka game with MaxN algorithmModelling and implementation of 9tka game with MaxN algorithm
Modelling and implementation of 9tka game with MaxN algorithm
 
Two player games
Two player gamesTwo player games
Two player games
 
Aipapercpt
AipapercptAipapercpt
Aipapercpt
 

Recently uploaded

special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 

Recently uploaded (20)

special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 

Artificial Intelligence

  • 1. Welcome To Our Presentation
  • 2. 7X7 Tic Tac Toe Solver
  • 3. Problem Description :  Tic Tac Toe (also called Noughts and crosses, Xs and Os, XOX Game) is a very popular children’s pencil and paper game, which is often enjoyed by many adults, as well.  Because of its simplicity, the game may seem trivial at first, however, Tic Tac Toe involves its share of analytics and rapidity.  The game is a lot of fun for people of all ages and provides one with a great brain workout too!  play Tic Tac Toe online with other players or challenge Paper Man, a robot, in order to win points and obtain a higher ranking!
  • 4. History of Tic Tac Toe  An early variation of the game was played in the Roman Empire, around the 1st century B.C.  It was called terni lapilli, which means "three pebbles at a time.“  The game's grid markings have been found chalked all over Roman ruins. More Advanced Tic Tac Toe  A relatively simple game usually played on a grid of 3 x 3 squares  Tic-tac-toe is mainly enjoyed by children.  Tic-tac-toe can be made significantly more complex by increasing the size of the board to 4 x 4, 5 x 5, or even up to a 20 x 20 grid.
  • 5.  The game is to be played between two people (in this program between HUMAN and COMPUTER).  One of the player chooses ‘O’ and the other ‘X’ to mark their respective cells.  The game starts with one of the players and the game ends when one of the players has one whole row/ column/ diagonal filled with his/her respective character (‘O’ or ‘X’).  If no one wins, then the game is said to be draw. Rules of the Tic-Tac-Toe game
  • 7.  Minimax is a decision-making algorithm, typically in two player games.  Minimax is a kind of backtracking algorithm.  The goal of the algorithm is to find the optimal next move.  In the algorithm, one player is called the maximizer, and the other player is a minimizer..  The maximizer works to get the highest score, while the minimizer tries get the lowest score.  It is based on the zero-sum game concept. whatever one player wins the other loses. So, the total score is always zero.  Examples of such games are chess, poker, checkers, tic-tac-toe. Introduction to Minimax
  • 8. Example of minimax Algorithm.
  • 11.
  • 12.
  • 13. Application: Minimax is the heart of almost every computer board game. It applies to the games where Players take turns Underlying assumption  Have perfect information But it can work form games with or without perfect information or chance e.g: Poker Monopoles Dice. Tic-tac-toe Chess checkers
  • 14. properties of minimax algorithm  complete ? == Yes (If there is finite )  Optimal? == Yes (Against an optimal opponent)  Time complexity?== O(b^m)  Space Complexity? == O(bm) (depth first exploration)
  • 15. Minimax Advantages • Returns an optimal action, assuming perfect opponent play. • Minimax is the simplest possible(reasonable)game search algorithm. • It provides a complete possible search if tree is finite. Minimax Disadvantages • It is completely in feasible in practice. • When search tree is too large, we need to limit the search depth • We have to apply an evaluation function to the cut-off states
  • 16. Improvement A major problem with this approach is that we have to explore each and every node even if we have found Min or Max values. Solution: Fortunately, there is an option to find the optimal move, without exploring every node of the game tree. We can skip some branches by following some rules, and it won’t affect the final result. This process is called pruning. Alpha–beta pruning is a prevalent variant of minimax algorithm.