SlideShare a Scribd company logo
1 of 48
Game Playing in Artificial Intelligence CMT310 --- Mwendwa Kivuva 1014638 Catholic University of Eastern Africa March 2009 [email_address] www.transworldafrica.com
Areas of Interest ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
DEFINITION ,[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Definition cont … ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Why are games relevant to AI? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
State Space ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
The Illusion of Human Behaviour ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Chess: 23-Mar-2009 Artificial Intelligence - CMT310 Kasparov 5’10”  176 lbs  34 years 50 billion neurons 2 pos/sec Extensive Electrical/chemical Enormous Height Weight Age Computers Speed Knowledge Power Source Ego Deep Blue 6’ 5” 2,400 lbs 4 years 32 RISC processors  + 256 VLSI chess engines 200,000,000 pos/sec Primitive Electrical None 1997: Deep Blue wins by 3 wins, 1 loss, and 2 draws
Computer Games Types ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
More complicated games ,[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
The functionalism of game AI ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
History and overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310 Late 1990s  - To add intrigue, developers look again to AI
CONCEPTS Technologies / techniques used ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Techniques / Technologies used ,[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Game setup ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
How to Play a Game by Searching ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
The Minimax Rule 23-Mar-2009 Artificial Intelligence - CMT310 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Minimax Procedure 23-Mar-2009 Artificial Intelligence - CMT310 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
MinMax - Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Minimax Algorithm 23-Mar-2009 Artificial Intelligence - CMT310 function  MINIMAX-DECISION( state )  returns  an action inputs:  state , current state in game v  MAX-VALUE( state ) return  the  action  in SUCCESSORS( state ) with value  v function  MIN-VALUE( state )  returns  a utility value if  TERMINAL-TEST( state )  then return  UTILITY( state ) v    ∞ for  a,s  in SUCCESSORS( state )  do v     MIN( v, MAX-VALUE(s)  ) return  v function  MAX-VALUE( state )  returns  a utility value if  TERMINAL-TEST( state )  then return  UTILITY( state ) v    -∞ for  a,s  in SUCCESSORS( state )  do v     MAX( v, MIN-VALUE(s)  ) return  v
Properties of minimax ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Alpha-Beta Pruning ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310 ,[object Object],[object Object],2 7 1 =2 >=2 <=1 ?
  Pruning Example 23-Mar-2009 Artificial Intelligence - CMT310    3 MAX MIN =3 3 12 8 2 X X    2 14    14 5    5 2 =2 =3
Alpha-Beta Pruning ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Alpha-Beta Algorithm 1 MAX Ply 23-Mar-2009 Artificial Intelligence - CMT310 function  ALPHA-BETA-SEARCH( state )  returns  an action inputs:  state , current state in game v  MAX-VALUE( state, -  ∞  , + ∞ ) return  the  action  in SUCCESSORS( state ) with value  v function  MAX-VALUE( state,   ,   )  returns  a utility value if  TERMINAL-TEST( state )  then return  UTILITY( state ) v    - ∞ for  a,s  in SUCCESSORS( state )  do v     MAX( v, MIN-VALUE( s ,    ,   )) if   v  ≥     then return   v       MAX(   , v ) return  v
Alpha-Beta Algorithm II MIN Ply 23-Mar-2009 Artificial Intelligence - CMT310 function  MIN-VALUE( state,    ,   )  returns  a utility value if  TERMINAL-TEST( state )  then return  UTILITY( state ) v    + ∞ for  a,s  in SUCCESSORS( state )  do v     MIN( v, MAX-VALUE( s ,    ,   )) if   v  ≤     then return   v       MIN(   , v ) return  v
α-β ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Minimax for nondeterministic games ,[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310 3
Deterministic games in practice ,[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
23-Mar-2009 Artificial Intelligence - CMT310 APPLICATIONS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
23-Mar-2009 Artificial Intelligence - CMT310 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Applications
23-Mar-2009 Artificial Intelligence - CMT310 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Applications
23-Mar-2009 Artificial Intelligence - CMT310 To adapt hierarchical task-network planning techniques for use in BRIDGE GAME, ways for the planner to perform complex numeric calculations, plan for multiple agents, consult external information sources, and reason about uncertain information were developed. These same techniques are now proving useful in generating and evaluating manufacturing process plans Applications
Game AI Major Challenges ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
TRENDS of Game AI ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Changes in Games Development ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Changes in Gaming ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-20009 Artificial Intelligence - CMT310
Changes in Game Fidelity ,[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-20009 Artificial Intelligence - CMT310
Changing Game Players ,[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
The Industry Now ,[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
THE FUTURE OF GAME AI ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Future of AI games cont … ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Summary ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Philosophical Food for thought ,[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310
Bibliography ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],23-Mar-2009 Artificial Intelligence - CMT310

More Related Content

What's hot

Learning to Play Complex Games
Learning to Play Complex GamesLearning to Play Complex Games
Learning to Play Complex Games
butest
 
Thegameplayerworld jesperjuul
Thegameplayerworld jesperjuulThegameplayerworld jesperjuul
Thegameplayerworld jesperjuul
Noel Kehoe
 

What's hot (20)

Minimax
MinimaxMinimax
Minimax
 
Artificial intelligence games
Artificial intelligence gamesArtificial intelligence games
Artificial intelligence games
 
Adversarial search with Game Playing
Adversarial search with Game PlayingAdversarial search with Game Playing
Adversarial search with Game Playing
 
Minmax Algorithm In Artificial Intelligence slides
Minmax Algorithm In Artificial Intelligence slidesMinmax Algorithm In Artificial Intelligence slides
Minmax Algorithm In Artificial Intelligence slides
 
Learning to Play Complex Games
Learning to Play Complex GamesLearning to Play Complex Games
Learning to Play Complex Games
 
Game theory
Game theoryGame theory
Game theory
 
Game theory in network security
Game theory in network securityGame theory in network security
Game theory in network security
 
Advanced Approach to Play a Atari Game
Advanced Approach to Play a Atari GameAdvanced Approach to Play a Atari Game
Advanced Approach to Play a Atari Game
 
Adversarial search
Adversarial searchAdversarial search
Adversarial search
 
Thegameplayerworld jesperjuul
Thegameplayerworld jesperjuulThegameplayerworld jesperjuul
Thegameplayerworld jesperjuul
 
Gamec Theory
Gamec TheoryGamec Theory
Gamec Theory
 
AI Strategies for Solving Poker Texas Hold'em
AI Strategies for Solving Poker Texas Hold'emAI Strategies for Solving Poker Texas Hold'em
AI Strategies for Solving Poker Texas Hold'em
 
Game Theory Strategic Decision Making
Game Theory Strategic Decision MakingGame Theory Strategic Decision Making
Game Theory Strategic Decision Making
 
Learning to Reason in Round-based Games: Multi-task Sequence Generation for P...
Learning to Reason in Round-based Games: Multi-task Sequence Generation for P...Learning to Reason in Round-based Games: Multi-task Sequence Generation for P...
Learning to Reason in Round-based Games: Multi-task Sequence Generation for P...
 
Introduction To My Graduation Project
Introduction To My Graduation ProjectIntroduction To My Graduation Project
Introduction To My Graduation Project
 
Exposé biad game-theory
Exposé biad game-theoryExposé biad game-theory
Exposé biad game-theory
 
Game Theory
Game TheoryGame Theory
Game Theory
 
Md2010 jl-wp7-sl-game-dev
Md2010 jl-wp7-sl-game-devMd2010 jl-wp7-sl-game-dev
Md2010 jl-wp7-sl-game-dev
 
TIṬAL – Asynchronous multiplayer shooter with procedurally generated maps
TIṬAL – Asynchronous multiplayer shooter with procedurally generated mapsTIṬAL – Asynchronous multiplayer shooter with procedurally generated maps
TIṬAL – Asynchronous multiplayer shooter with procedurally generated maps
 
Advanced Game Theory guest lecture
Advanced Game Theory guest lectureAdvanced Game Theory guest lecture
Advanced Game Theory guest lecture
 

Similar to Gameplaying in artificial intelligence

Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial Intelligence
Ahmed Hani Ibrahim
 

Similar to Gameplaying in artificial intelligence (20)

Libratus
LibratusLibratus
Libratus
 
1.game
1.game1.game
1.game
 
Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial Intelligence
 
Why AI Is Shaping our games - Johanna Pirker, 2019
Why AI Is Shaping our games - Johanna Pirker, 2019Why AI Is Shaping our games - Johanna Pirker, 2019
Why AI Is Shaping our games - Johanna Pirker, 2019
 
Artificial intelligence and video games
Artificial intelligence and video gamesArtificial intelligence and video games
Artificial intelligence and video games
 
Artificial Intelligence gaming techniques
Artificial Intelligence gaming techniquesArtificial Intelligence gaming techniques
Artificial Intelligence gaming techniques
 
R.A.W - THE GAME
R.A.W - THE GAMER.A.W - THE GAME
R.A.W - THE GAME
 
Introduction To My Graduation Project
Introduction To My Graduation ProjectIntroduction To My Graduation Project
Introduction To My Graduation Project
 
Tic Tac Toe using Mini Max Algorithm
Tic Tac Toe using Mini Max AlgorithmTic Tac Toe using Mini Max Algorithm
Tic Tac Toe using Mini Max Algorithm
 
Cap4053 gameproposal
Cap4053 gameproposalCap4053 gameproposal
Cap4053 gameproposal
 
Artificial Intelligence in Gaming
Artificial Intelligence in GamingArtificial Intelligence in Gaming
Artificial Intelligence in Gaming
 
International journal of engineering issues vol 2015 - no 2 - paper1
International journal of engineering issues   vol 2015 - no 2 - paper1International journal of engineering issues   vol 2015 - no 2 - paper1
International journal of engineering issues vol 2015 - no 2 - paper1
 
AI_Session 14 Min Max Algorithm.pptx
AI_Session 14 Min Max Algorithm.pptxAI_Session 14 Min Max Algorithm.pptx
AI_Session 14 Min Max Algorithm.pptx
 
AI_Session 13 Adversarial Search .pptx
AI_Session 13 Adversarial Search .pptxAI_Session 13 Adversarial Search .pptx
AI_Session 13 Adversarial Search .pptx
 
Game Design 1 - Intro and Game Engines
Game Design 1 - Intro and Game EnginesGame Design 1 - Intro and Game Engines
Game Design 1 - Intro and Game Engines
 
Web Game Development
Web Game DevelopmentWeb Game Development
Web Game Development
 
Online gaming culture 2
Online gaming culture 2Online gaming culture 2
Online gaming culture 2
 
Overview on computer games
Overview on computer games Overview on computer games
Overview on computer games
 
Alpha go 16110226_김영우
Alpha go 16110226_김영우Alpha go 16110226_김영우
Alpha go 16110226_김영우
 
AI_Sher Singh Shekhawat.pdf
AI_Sher Singh Shekhawat.pdfAI_Sher Singh Shekhawat.pdf
AI_Sher Singh Shekhawat.pdf
 

Recently uploaded

DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
Health
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 

Gameplaying in artificial intelligence

  • 1. Game Playing in Artificial Intelligence CMT310 --- Mwendwa Kivuva 1014638 Catholic University of Eastern Africa March 2009 [email_address] www.transworldafrica.com
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. Chess: 23-Mar-2009 Artificial Intelligence - CMT310 Kasparov 5’10” 176 lbs 34 years 50 billion neurons 2 pos/sec Extensive Electrical/chemical Enormous Height Weight Age Computers Speed Knowledge Power Source Ego Deep Blue 6’ 5” 2,400 lbs 4 years 32 RISC processors + 256 VLSI chess engines 200,000,000 pos/sec Primitive Electrical None 1997: Deep Blue wins by 3 wins, 1 loss, and 2 draws
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. Minimax Algorithm 23-Mar-2009 Artificial Intelligence - CMT310 function MINIMAX-DECISION( state ) returns an action inputs: state , current state in game v  MAX-VALUE( state ) return the action in SUCCESSORS( state ) with value v function MIN-VALUE( state ) returns a utility value if TERMINAL-TEST( state ) then return UTILITY( state ) v  ∞ for a,s in SUCCESSORS( state ) do v  MIN( v, MAX-VALUE(s) ) return v function MAX-VALUE( state ) returns a utility value if TERMINAL-TEST( state ) then return UTILITY( state ) v  -∞ for a,s in SUCCESSORS( state ) do v  MAX( v, MIN-VALUE(s) ) return v
  • 22.
  • 23.
  • 24.  Pruning Example 23-Mar-2009 Artificial Intelligence - CMT310  3 MAX MIN =3 3 12 8 2 X X  2 14  14 5  5 2 =2 =3
  • 25.
  • 26. Alpha-Beta Algorithm 1 MAX Ply 23-Mar-2009 Artificial Intelligence - CMT310 function ALPHA-BETA-SEARCH( state ) returns an action inputs: state , current state in game v  MAX-VALUE( state, - ∞ , + ∞ ) return the action in SUCCESSORS( state ) with value v function MAX-VALUE( state,  ,  ) returns a utility value if TERMINAL-TEST( state ) then return UTILITY( state ) v  - ∞ for a,s in SUCCESSORS( state ) do v  MAX( v, MIN-VALUE( s ,  ,  )) if v ≥  then return v   MAX(  , v ) return v
  • 27. Alpha-Beta Algorithm II MIN Ply 23-Mar-2009 Artificial Intelligence - CMT310 function MIN-VALUE( state,  ,  ) returns a utility value if TERMINAL-TEST( state ) then return UTILITY( state ) v  + ∞ for a,s in SUCCESSORS( state ) do v  MIN( v, MAX-VALUE( s ,  ,  )) if v ≤  then return v   MIN(  , v ) return v
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34. 23-Mar-2009 Artificial Intelligence - CMT310 To adapt hierarchical task-network planning techniques for use in BRIDGE GAME, ways for the planner to perform complex numeric calculations, plan for multiple agents, consult external information sources, and reason about uncertain information were developed. These same techniques are now proving useful in generating and evaluating manufacturing process plans Applications
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.

Editor's Notes

  1. Coarse-grained systems consist of fewer, larger components than fine-grained systems; a coarse-grained description of a system regards large subcomponents while a fine-grained description regards smaller components of which the larger ones are composed. Data are communicated are infrequent, after larger amounts of computation
  2. Action: Quake, Thief RPG: Baldur’s Gate, Neverwinter Nights, Oblivion Strategy: WarCraft, Command&amp;Conquer, Civilization Sports: FIFA, Racing Simulations: The Sims, Tycoon Games, SimCity Adventure Games: Text, Graphical Puzzle Games: Tetris
  3. Screenshots from Harry Potter &amp; The Chamber of Secrets and Final Fantasy XII