1 Game Playing Chapter 6 (supplement) Various deterministic board games Additional references for the slides: Luger’s AI book (2005). Robert Wilensky’s.

Slides:



Advertisements
Similar presentations
DESCRIPTION: China, one of the world's oldest civilizations, consists of states and cultures dating back more than six millennia. This is an abstract.
Advertisements

Game Playing CS 63 Chapter 6
Adversarial Search Chapter 6 Section 1 – 4. Types of Games.
Martin Boyd Christopher Hirunthanakorn
Place captured red pieces below Place captured blue pieces below Rules New Game Exit Left mouse click on piece – drag to desired location - left mouse.
AI for Connect-4 (or other 2-player games) Minds and Machines.
ICS-271:Notes 6: 1 Notes 6: Game-Playing ICS 271 Fall 2008.
Adversarial Search Chapter 5.
Table of Contents Why Play Chess? Setting Up the Board Get to Know the Pieces Check and Checkmate What the Chess Pieces Are Worth Opening Goals Endgame.
Adversarial Search: Game Playing Reading: Chapter next time.
CHESS FOR KIDS Lesson 1.
Artificial Intelligence in Game Design Heuristics and Other Ideas in Board Games.
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
Chess AI’s, How do they work? Math Club 10/03/2011.
Minimax and Alpha-Beta Reduction Borrows from Spring 2006 CS 440 Lecture Slides.
Place captured red pieces here Place captured yellow pieces here To use as Kings Rules New Game Exit Left mouse click on piece – drag to desired location.
State Space 4 Chapter 4 Adversarial Games. Two Flavors Games of Perfect Information ◦Each player knows everything that can be known ◦Chess, Othello Games.
Honte, a Go-Playing Program Using Neural Nets Frederik Dahl.
1 Game Playing Chapter 6 Additional references for the slides: Luger’s AI book (2005). Robert Wilensky’s CS188 slides:
1 Heuristic Search 4 4.0Introduction 4.1An Algorithm for Heuristic Search 4.2Admissibility, Monotonicity, and Informedness 4.3Using Heuristics in Games.
Game Playing CSC361 AI CSC361: Game Playing.
Learning Shape in Computer Go David Silver. A brief introduction to Go Black and white take turns to place down stones Once played, a stone cannot move.
Hex A game of connections. The Beginning Invented independently by Piet Hein in 1942 and John Nash in Invented independently by Piet Hein in 1942.
ICS-271:Notes 6: 1 Notes 6: Game-Playing ICS 271 Fall 2006.
1 Heuristic Search 4 4.0Introduction 4.1An Algorithm for Heuristic Search 4.2Admissibility, Monotonicity, and Informedness 4.3Using Heuristics in Games.
A Heuristic Search Algorithm for Capturing Problems in Go Authors: Keh-Hsun Chen and Peigang Zhang Presenter: Ling Zhao August 8, 2006.
Adversarial Search: Game Playing Reading: Chess paper.
Monte Carlo Go Has a Way to Go Haruhiro Yoshimoto (*1) Kazuki Yoshizoe (*1) Tomoyuki Kaneko (*1) Akihiro Kishimoto (*2) Kenjiro Taura (*1) (*1)University.
Othello Sean Farrell June 29, Othello Two-player game played on 8x8 board All pieces have one white side and one black side Initial board setup.
Corea Japan China WeiqiGoBaduk. The Go is one of the oldest board game in the world. Its true origins are unknown, though it almost certainly originated.
Wei Qi, Baduk, Go a game of strategy
Game Playing: Adversarial Search Chapter 6. Why study games Fun Clear criteria for success Interesting, hard problems which require minimal “initial structure”
Game Playing State-of-the-Art  Checkers: Chinook ended 40-year-reign of human world champion Marion Tinsley in Used an endgame database defining.
Hex Combinatorial Search in Game Strategy by Brandon Risberg May 2006Menlo School.
Chess Merit Badge Chess Basics: Set Up the Board & Basic Rules by Joseph L. Bell © 2011.
Go An ancient Oriental board game Andrew Simons. Introduction 2 player game of skill. Popular in the Far East, growing in the West. Simple rules, extremely.
Adversarial Search CS30 David Kauchak Spring 2015 Some material borrowed from : Sara Owsley Sood and others.
Game Playing.
Artificial Intelligence in Game Design Lecture 22: Heuristics and Other Ideas in Board Games.
Computer Go : A Go player Rohit Gurjar CS365 Project Proposal, IIT Kanpur Guided By – Prof. Amitabha Mukerjee.
 Summary  How to Play Go  Project Details  Demo  Results  Conclusions.
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.
Agents that can play multi-player games. Recall: Single-player, fully-observable, deterministic game agents An agent that plays Peg Solitaire involves.
Game-playing AIs Part 1 CIS 391 Fall CSE Intro to AI 2 Games: Outline of Unit Part I (this set of slides)  Motivation  Game Trees  Evaluation.
Games. Adversaries Consider the process of reasoning when an adversary is trying to defeat our efforts In game playing situations one searches down the.
Senior Project Poster Day 2007, CIS Dept. University of Pennsylvania Reversi Meng Tran Faculty Advisor: Dr. Barry Silverman Strategies: l Corners t Corners.
A Classic Game of Strategy for the 21 st Century.
CSCI 4310 Lecture 6: Adversarial Tree Search. Book Winston Chapter 6.
28 minutes before 6 players setup Basic move Each player gets per turn: 1.Max 3 people per move 2.Max 3 zombies per move.
How to Play Chess. Name of Each Piece The relative values of the chess pieces 9 points 5 points 3+ points 3 points 1 point.
Summary of the Moves of Chess
A game based off of the esteemed classic By: Tadziu Kosiara.
Today’s Topics Playing Deterministic (no Dice, etc) Games –Mini-max –  -  pruning –ML and games? 1997: Computer Chess Player (IBM’s Deep Blue) Beat Human.
Parallelization in Computer Board Games Ian Princivalli.
The Basics Of Chess Student Name: Jovannie Charles Date: 3/25/11.
Every chess master was once a beginner. Irving Chernev
Chess Strategies Component Skills Strategies Prototype Josh Waters, Ty Fenn, Tianyu Chen.
Learning to Play the Game of GO Lei Li Computer Science Department May 3, 2007.
A Scalable Machine Learning Approach to Go Pierre Baldi and Lin Wu UC Irvine.
February 25, 2016Introduction to Artificial Intelligence Lecture 10: Two-Player Games II 1 The Alpha-Beta Procedure Can we estimate the efficiency benefit.
1 Evaluation Function for Computer Go. 2 Game Objective Surrounding most area on the boardSurrounding most area on the board.
Reversi aka Othello by: Siriphone Anna Lam GAD 100 A -Summer Bell - Project 1.
The Game of Hex A Domain Specific Search Technique For A Beautiful Game Stefan Kiefer.
CHESS “The Ultimate GAME of Challenge and Strategy”
CHESS.
A Sampling of Chess and Chip Games
The Alpha-Beta Procedure
4 Heuristic Search 4.0 Introduction
Every chess master was once a beginner. Irving Chernev
Presentation transcript:

1 Game Playing Chapter 6 (supplement) Various deterministic board games Additional references for the slides: Luger’s AI book (2005). Robert Wilensky’s CS188 slides: Tim Huang’s slides for the game of Go.

2 Othello (a.k.a. reversi) 8x8 board of cells The tokens have two sides: one black, one white One player is putting the white side and the other player is putting the black side The game starts like this:

3 Othello The game proceeds by each side putting a piece of his own color The winner is the one who gets more pieces of his color at the end of the game Below, white wins by 28

4 Othello When a black token is put onto the board, and on the same horizontal, vertical, or diagonal line there is another black piece such that every piece between the two black tokens is white, then all the white pieces are flipped to black Below there are 17 possible moves for white

5 Othello A move can only be made if it causes flipping of pieces. A player can pass a move iff there is no move that causes flipping. The game ends when neither player can make a move the snapshots are from the description is from home.kkto.org:9673/courses/ai-xhtml home.kkto.org:9673/courses/ai-xhtml AAAI has a nice repository: Click on AI topics, then select “games & puzzles” from the menuwww.aaai.org

6 Hex Hexagonal cells are arranged as below. Common sizes are 10x10, 11x11, 14x14, 19x19. The game has two players: Black and White Black always starts (there is also a swapping rule) Players take turns placing their pieces on the board

7 Hex The object of the game is to make an uninterrupted connection of your pieces from one end of your board to the other Other properties  First player always wins  No ties

8 Hex Invented independently by Piet Hein in 1942 and John Nash in Every empty cell is a legal move, thus the game tree is wide b = ~80 (chess b = ~35, go b = ~250) Determining the winner (assuming perfect play) in an arbitrary Hex position is PSPACE- complete [Rei81]. How to get knowledge about the “potential” of a given position without massive game- tree search?

9 Hex There are good programs that play with heuristics to evaluate game configurations hex.retes.hu/six home.earthlink.net/~vanshel cs.ualberta.ca/~javhar/hex rules.html

10 The Game of Go Go is a two-player game played using black and white stones on a board with 19x19, 13x13, or 9x9 intersections.

11 The Game of Go Players take turns placing stones onto the intersections. Goal: surround the most territory (empty intersections).

12 The Game of Go Once placed onto the board, stones are not moved.

13 The Game of Go

14 The Game of Go

15 The Game of Go

16 The Game of Go

17 The Game of Go

18 The Game of Go A block is a set of adjacent stones (up, down, left, right) of the same color.

19 The Game of Go A block is a set of adjacent stones (up, down, left, right) of the same color.

20 The Game of Go A liberty of a block is an empty intersection adjacent to one of its stones.

21 The Game of Go

22 The Game of Go

23 The Game of Go If a block runs out of liberties, it is captured. Captured blocks are removed from the board.

24 The Game of Go If a block runs out of liberties, it is captured. Captured blocks are removed from the board.

25 The Game of Go If a block runs out of liberties, it is captured. Captured blocks are removed from the board.

26 The Game of Go The game ends when neither player wishes to add more stones to the board.

27 The Game of Go The player with the most enclosed territory wins the game. (With komi, White wins this game by 7.5 pts.)

28 Alive and Dead Blocks White can capture by playing at A or B. Black can capture by playing at C. Black can’t play at D and E simultaneously. With only one eye, these stones are dead. No need for Black to play at C. With two eyes at D and E, these White stones are alive.

29 Example on 13x13 Board What territory belongs to White? To Black?

30 Example on 13x13 Board Black ahead by 1 point. With komi, White wins by 4.5 pts.

31 Challenges for Computer Go Much higher search requirements  Minimax game tree has O(b d ) positions  In chess, b = ~35 and d = ~100 half-moves  In Go, b = ~250 and d = ~200 half-moves  However, 9x9 Go seems almost as hard as 19x19 Accurate evaluation functions are difficult to build and computationally expensive  In chess, material difference alone works fairly well  In Go, only 1 piece type with no easily extracted features Determining the winner from an arbitrary position is PSPACE-hard (Lichtenstein and Sipser, 1980)

32 State of the Art Many Faces of Go v.11 (Fotland), Go4++ (Reiss), Handtalk/Goemate (Chen), GNUGo (many), etc. Each consists of a carefully crafted combination of pattern matchers, expert rules, and selective search Playing style of current programs:  Focus on safe territories and large frameworks  Avoid complicated fighting situations Rank is about 6 kyu, though actual playing strength varies from opening (stronger) to middle game (much weaker) to endgame (stronger)