History  1475: modern game evolved  1700-1900: supposed automatons  1900-1950: rise of chess computers  1950-2000: on par with humans  2000-current.

Slides:



Advertisements
Similar presentations
CS 4701 – Practicum in Artificial Intelligence Pre-proposal Presentation TEAM SKYNET: Brian Nader Stephen Stinson Rei Suzuki.
Advertisements

Adversarial Search Reference: “Artificial Intelligence: A Modern Approach, 3 rd ed” (Russell and Norvig)
This lecture topic: Game-Playing & Adversarial Search
For Friday Finish chapter 5 Program 1, Milestone 1 due.
February 7, 2006AI: Chapter 6: Adversarial Search1 Artificial Intelligence Chapter 6: Adversarial Search Michael Scherger Department of Computer Science.
1 CSC 550: Introduction to Artificial Intelligence Fall 2008 search in game playing  zero-sum games  game trees, minimax principle  alpha-beta pruning.
Application of Artificial intelligence to Chess Playing Capstone Design Project 2004 Jason Cook Bitboards  Bitboards are 64 bit unsigned integers, with.
Adversarial Search Game Playing Chapter 6. Outline Games Perfect Play –Minimax decisions –α-β pruning Resource Limits and Approximate Evaluation Games.
The Implementation of Artificial Intelligence and Temporal Difference Learning Algorithms in a Computerized Chess Programme By James Mannion Computer Systems.
Artificial Intelligence for Games Game playing Patrick Olivier
An Introduction to Artificial Intelligence Lecture VI: Adversarial Search (Games) Ramin Halavati In which we examine problems.
10/19/2004TCSS435A Isabelle Bichindaritz1 Game and Tree Searching.
Games CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Computers Playing Games Arif Zaman CS 101. Acknowledgements Portions of this are taken from MIT’s open-courseware
Mastering Chess An overview of common chess AI Adam Veres.
Chess AI’s, How do they work? Math Club 10/03/2011.
How Computers Play Chess Peter Barnum November 15, 2007 Artificial Intelligence 101.
Intelligence for Games and Puzzles1 Minimax to fixed depth Where the game tree is too large.
Game Playing CSC361 AI CSC361: Game Playing.
Games and adversarial search
Part 3 of 3: Beliefs in Probabilistic Robotics. References and Sources of Figures Part 1: Stuart Russell and Peter Norvig, Artificial Intelligence, 2.
Computers Playing Games Arif Zaman CS 101. Acknowledgements Portions of this are taken from MIT’s open-courseware
Adversarial Search: Game Playing Reading: Chess paper.
Alpha-Beta Search. 2 Two-player games The object of a search is to find a path from the starting position to a goal position In a puzzle-type problem,
Group 1 : Ashutosh Pushkar Ameya Sudhir From. Motivation  Game playing was one of the first tasks undertaken in AI  Study of games brings us closer.
1 Adversary Search Ref: Chapter 5. 2 Games & A.I. Easy to measure success Easy to represent states Small number of operators Comparison against humans.
Hex Combinatorial Search in Game Strategy by Brandon Risberg May 2006Menlo School.
Lecture 5 Note: Some slides and/or pictures are adapted from Lecture slides / Books of Dr Zafar Alvi. Text Book - Aritificial Intelligence Illuminated.
Game Playing Chapter 5. Game playing §Search applied to a problem against an adversary l some actions are not under the control of the problem-solver.
Game Playing Chapter 5. Game playing §Search applied to a problem against an adversary l some actions are not under the control of the problem-solver.
1 Computer Group Engineering Department University of Science and Culture S. H. Davarpanah
Traditional game playing 2 player adversarial (win => lose) based on search but... huge game trees can't be fully explored.
University of Amsterdam Search, Navigate, and Actuate – Search through Game Trees Arnoud Visser 1 Game Playing Search the action space of 2 players Russell.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 9 of 14 Friday, 10 September.
Computing & Information Sciences Kansas State University Lecture 9 of 42 CIS 530 / 730 Artificial Intelligence Lecture 9 of 42 William H. Hsu Department.
Instructor: Vincent Conitzer
For Wednesday Read chapter 7, sections 1-4 Homework: –Chapter 6, exercise 1.
Game Playing. Introduction One of the earliest areas in artificial intelligence is game playing. Two-person zero-sum game. Games for which the state space.
Computing & Information Sciences Kansas State University Lecture 8 of 42 CIS 530 / 730 Artificial Intelligence Lecture 8 of 42 William H. Hsu Department.
CSCI 4310 Lecture 6: Adversarial Tree Search. Book Winston Chapter 6.
For Friday Finish chapter 6 Program 1, Milestone 1 due.
Games as adversarial search problems Dynamic state space search.
Game Playing Revision Mini-Max search Alpha-Beta pruning General concerns on games.
Computing & Information Sciences Kansas State University Monday, 11 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 8 of 42 Monday, 11 September.
CSE373: Data Structures & Algorithms Lecture 23: Intro to Artificial Intelligence and Game Theory Based on slides adapted Luke Zettlemoyer, Dan Klein,
Game tree search Chapter 6 (6.1 to 6.3 and 6.6) cover games. 6.6 covers state of the art game players in particular. 6.5 covers games that involve uncertainty.
The Implementation of Artificial Intelligence and Temporal Difference Learning Algorithms in a Computerized Chess Program By James Mannion Computer Systems.
Artificial Intelligence
George F Luger ARTIFICIAL INTELLIGENCE 5th edition Structures and Strategies for Complex Problem Solving HEURISTIC SEARCH Luger: Artificial Intelligence,
CompSci Backtracking, Search, Heuristics l Many problems require an approach similar to solving a maze ä Certain mazes can be solved using the.
CPS Backtracking, Search, Heuristics l Many problems require an approach similar to solving a maze ä Certain mazes can be solved using the “right-hand”
Adversarial Search Chapter 6 Section 1 – 4. Games vs. search problems "Unpredictable" opponent  specifying a move for every possible opponent reply Time.
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module 5 Adversarial Search (Thanks Meinolf Sellman!)
Artificial Intelligence in Game Design Board Games and the MinMax Algorithm.
Luca Weibel Honors Track: Competitive Programming & Problem Solving Partisan game theory.
Understanding AI of 2 Player Games. Motivation Not much experience in AI (first AI project) and no specific interests/passion that I wanted to explore.
Game Algorithms Prepared for COSC 6111 By Stephanie Wilson November 15th, 2006.
5/4/2005EE562 EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS Lecture 9, 5/4/2005 University of Washington, Department of Electrical Engineering Spring 2005.
Artificial Intelligence AIMA §5: Adversarial Search
Adversarial Search and Game-Playing
Artificial Intelligence
Instructor: Vincent Conitzer
CS 460 Spring 2011 Lecture 4.
Dakota Ewigman Jacob Zimmermann
Game Playing in AI by: Gaurav Phapale 05 IT 6010
Pruned Search Strategies
MinMax Theorem John von Neumann
Games & Adversarial Search
Presentation transcript:

History  1475: modern game evolved  : supposed automatons  : rise of chess computers  : on par with humans  2000-current day: outmatching their creators

The Minimax AlgorithmThe Minimax Algorithm  Minimax: maximizing gain + minimizing loss  Evaluation function  Brute force  Basic method used by chess programs  O(B d )  Used not only in chess but also in a variety of other two player games, as well as combinatorics and probability

Modifications to MinimaxModifications to Minimax  Quiescence Search  Avoids horizon effect  Prefers to search “noisy” moves  More akin to humans?  Negamax Algorithm  Exploits zero-sum quality of chess  Simpler than minimax  Negascout

Alpha-Beta PruningAlpha-Beta Pruning  Improvement to minimax algorithm  O(B (d/2) )  “Prunes” the minimax tree  Theory: stops evaluating positions when a move that is worse than a previous one is found.  Technicality: a recursive function with two variables, α and β, where the former is set to infinity and the latter to –infinity.

Cutoffs and TreesCutoffs and Trees  Cutoff: position so good that it need not be evaluated deeper  Null-move heuristic  Killer heuristic: trying to produce another cutoff by adapting moves from other tree  Futility Pruning  Razoring

Extending the SearchExtending the Search  Search can and should be extended to analyze “interesting” moves  Captures + recaptures  Checks  Forced move  Opponent sacrificing  Pawn pushes at 7 th rank

Pseudocode for our algorithm

Questions?

Sources  Colin, Frayn. "Computer Chess Programming Theory." Colin Frayn's home page. N.p., n.d. Web. 7 Jul  George T. Heineman, Gary Pollice, and Stanley Selkow (2008). "Chapter 7:Path Finding in AI". Algorithms in a Nutshell. Oreilly Media. pp. 217–  Russell, Stuart J.; Norvig, Peter (2010), Artificial Intelligence: A Modern Approach (3rd ed.), Upper Saddle River, New Jersey: Pearson Education, Inc., p. 167,  McCarthy, John (LaTeX2HTML 27 November 2006). "Human Level AI Is Harder Than It Seemed in 1955". Retrieved  Von Neumann, J: Zur Theorie der Gesellschaftsspiele Math. Annalen. 100 (1928)  John L Casti (1996). Five golden rules: great theories of 20 th -century mathematics – and why they matter. New York: Wiley-Interscience. p  ^ Russell, Stuart J.; Norvig, Peter (2003), Artificial Intelligence: A Modern Approach (2nd ed.), Upper Saddle River, New Jersey: Prentice Hall, pp. 163–171, ISBN ^  ChessBase.com - Chess News - Bilbao – the humans strike back  Aviezri Fraenkel and D. Lichtenstein (1981), "Computing a perfect strategy for n×n chess requires time exponential in n", J. Combin. Theory Ser. A 31 : 199–214, ^ Chess, a subsection of chapter 25, Digital Computers Applied to Games, of Faster than Thought, ed. B. V. Bowden, Pitman, London (1953). Online ^  ^ Chess, a subsection of chapter 25, Digital Computers Applied to Games, of Faster than Thought, ed. B. V. Bowden, Pitman, London (1953). Online ^