Amazons Experiments in Computer Amazons, Martin Mueller and Theodore Tegos, 2002 Exhaustive Search in the Game Amazons Raymond Georg Snatzke, 2002 Presented.

Slides:



Advertisements
Similar presentations
Order of complexity. Consider four algorithms 1.The naïve way of adding the numbers up to n 2.The smart way of adding the numbers up to n 3.A binary search.
Advertisements

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,
Martin Boyd Christopher Hirunthanakorn
Development of the Best Tsume-Go Solver
Games & Adversarial Search Chapter 5. Games vs. search problems "Unpredictable" opponent  specifying a move for every possible opponent’s reply. Time.
ICS-271:Notes 6: 1 Notes 6: Game-Playing ICS 271 Fall 2008.
Application of Artificial intelligence to Chess Playing Capstone Design Project 2004 Jason Cook Bitboards  Bitboards are 64 bit unsigned integers, with.
Progressively Finite Games
State Space 4 Chapter 4 Adversarial Games. Two Flavors Games of Perfect Information ◦Each player knows everything that can be known ◦Chess, Othello Games.
Domineering Solving Large Combinatorial Search Spaces.
Learning C++ the Fun Way Taesoo Kim Dr. Ramon Lawrence Computer Science.
CS 206 Introduction to Computer Science II 09 / 10 / 2008 Instructor: Michael Eckmann.
Solving Probabilistic Combinatorial Games Ling Zhao & Martin Mueller University of Alberta September 7, 2005 Paper link:
Strategies Based On Threats Ling Zhao University of Alberta March 10, 2003 Comparative evaluation of strategies based on the values of direct threats by.
CSE115/ENGR160 Discrete Mathematics 02/07/12
Temperature Discovery Martin M ü ller, Markus Enzenberger and Jonathan Schaeffer zIntroduction: local and global search yLocal search algorithms yTemperature.
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.
Choose A Subgame to Play by Zhichao “Leaf” Li October 20th, 2003.
Playing Konane Mathematically with Combinatorial Game Theory
Some Problems in Computer Science and Elementary Number Theory Elwyn Berlekamp.
Sum of Combinatorial Games by Leaf Wednesday, October 12th, 2004.
Combinatorial Games Martin Müller. Contents Combinatorial game theory Thermographs Go and Amazons as combinatorial games.
ICS-271:Notes 6: 1 Notes 6: Game-Playing ICS 271 Fall 2006.
Complexity (Running Time)
1 Solving Ponnuki-Go on Small Board Paper: Solving Ponnuki-Go on small board Authors: Erik van der Werf, Jos Uiterwijk, Jaap van den Herik Presented by:
© 2007 Ray S. Babcock Tracks Game is played on a (nxn) set of squares. There are three possible moves (labeled A,B,C). Players alternate making a move.
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,
Game Theory.
Game Trees and Heuristics : Fundamental Data Structures and Algorithms Margaret Reid-Miller 7 April 2005.
CISC 235: Topic 6 Game Trees.
Lecture 5 Note: Some slides and/or pictures are adapted from Lecture slides / Books of Dr Zafar Alvi. Text Book - Aritificial Intelligence Illuminated.
Part II - Sums of Games Consider a game called Boxing Match which was defined in a programming contest m.short.html.
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.
Agents that can play multi-player games. Recall: Single-player, fully-observable, deterministic game agents An agent that plays Peg Solitaire involves.
Section 1.8. Section Summary Proof by Cases Existence Proofs Constructive Nonconstructive Disproof by Counterexample Nonexistence Proofs Uniqueness Proofs.
Surreal Number Tianruo Chen. Introduction In mathematics system, the surreal number system is an arithmetic continuum containing the real number as infinite.
Alpha-beta Search. Two-player games zThe object of a search is to find a path from the starting position to a goal position zIn a puzzle-type problem,
Temperature Discovery Search Temperature Discovery Search (TDS) is a new minimaxbased game tree search method designed to compute or approximate the temperature.
6 Sums of Games.. Lecture6 Admin Plagiarism forms Answer football cup final problem. //Daisy Problem hints e.g. try a smaller size. General problem solving.
Game Playing. Towards Intelligence? Many researchers attacked “intelligent behavior” by looking to strategy games involving deep thought. Many researchers.
8.6. Knapsack Ciphers. The Concept At the core of the Knapsack cipher is the Knapsack problem: At the core of the Knapsack cipher is the Knapsack problem:
Games. Adversaries Consider the process of reasoning when an adversary is trying to defeat our efforts In game playing situations one searches down the.
HPC Checkers By Andy Block Ryan Egan. Table of Contents Overview of Checkers ▫Overview of Checkers ▫Rules of the Game AI Theory The Program ▫Board ▫Sample.
05/2007ORNL Presentation Distributed Denial of Service Games by Chinar Dingankar, Student Dr. R. R. Brooks, Associate Professor Holcombe Department of.
Backtracking and Games Eric Roberts CS 106B January 28, 2013.
Outline Intro to Representation and Heuristic Search Machine Learning (Clustering) and My Research.
Solving Kriegspiel endings with brute force: the case of KR vs. K Paolo Ciancarini Gian Piero Favini University of Bologna.
Quoridor and Artificial Intelligence
CS 206 Introduction to Computer Science II 09 / 18 / 2009 Instructor: Michael Eckmann.
CS 206 Introduction to Computer Science II 01 / 30 / 2009 Instructor: Michael Eckmann.
Minesweeper Solver Marina Maznikova Artificial Intelligence II Fall 2011.
Donghyun (David) Kim Department of Mathematics and Computer Science North Carolina Central University 1 Chapter 7 Time Complexity Some slides are in courtesy.
Learning to Play the Game of GO Lei Li Computer Science Department May 3, 2007.
Chapter VI What should I know about the sizes and speeds of computers?
Chapter 10.8 Graph Coloring These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7 th ed., by Kenneth.
Teaching Computers to Think:
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.
Content Game of Nim Impartial Games Sprague-Grundy theorem
By Kevin Madison and Emma Drobina
CSE15 Discrete Mathematics 02/08/17
Machine Learning for Go
State Space 4 Chapter 4 Adversarial Games.
David Kauchak CS52 – Spring 2016
Alpha-Beta Search.
NIM - a two person game n objects are in one pile
Alpha-Beta Search.
Alpha-Beta Search.
Alpha-Beta Search.
Alpha-Beta Search.
Presentation transcript:

Amazons Experiments in Computer Amazons, Martin Mueller and Theodore Tegos, 2002 Exhaustive Search in the Game Amazons Raymond Georg Snatzke, 2002 Presented by Joel N Paulson

Amazons Created by Walter Zamkauskas in Argentina in 1988 Created by Walter Zamkauskas in Argentina in 1988 First published in 1992 First published in 1992 Spread quickly on the internet, with yearly programming competitions. Spread quickly on the internet, with yearly programming competitions. First analyzed for combinatorial game theory by Berlekamp in “Sums of Nx2 Amazons” in 2000 First analyzed for combinatorial game theory by Berlekamp in “Sums of Nx2 Amazons” in 2000

Amazons as a Combinatorial Game Fits criteria as a combinatorial game Fits criteria as a combinatorial game Endgame is a sum of analyzable smaller games Endgame is a sum of analyzable smaller games Positions can be very difficult to analyze Positions can be very difficult to analyze Berlekamp calculated thermographs for 2 x n positions with one amazon per player Berlekamp calculated thermographs for 2 x n positions with one amazon per player

Exhaustive Search in Amazons (Snatzke) Snatzke’s Goal: Evaluate canonical forms of all games with 0 or 1 amazon per player that fit into an 11 x 2 board. Snatzke’s Goal: Evaluate canonical forms of all games with 0 or 1 amazon per player that fit into an 11 x 2 board. Approach: Program written to analyze all such games, ignoring identical positions, starting with the smallest. Approach: Program written to analyze all such games, ignoring identical positions, starting with the smallest. A total of 66,976 unique boards and 6,212,539 unique positions analyzed. A total of 66,976 unique boards and 6,212,539 unique positions analyzed.

Snatzke’s Program Algorithm: Essentially just a brute force search Algorithm: Essentially just a brute force search Written in Java (JDK 1.1, later JDK 1.3) Written in Java (JDK 1.1, later JDK 1.3) Run on a 500 Mhz Pentium III with 512 MB RAM Run on a 500 Mhz Pentium III with 512 MB RAM Took four months to run the first time, with JDK 1.1 and some code errors Took four months to run the first time, with JDK 1.1 and some code errors Second try (with JDK 1.3) took one month Second try (with JDK 1.3) took one month

Results Very complex Canonical Forms for larger positions Very complex Canonical Forms for larger positions Berlekamp: Proved that depth of the canonical subgame tree for an Amazons position can be up to ¾ the size of the game board. Berlekamp: Proved that depth of the canonical subgame tree for an Amazons position can be up to ¾ the size of the game board.

Example of a complex canonical form: Example of a complex canonical form:

Thermographs for Amazons positions are relatively simple, by Comparison: Thermographs for Amazons positions are relatively simple, by Comparison: Complexity of canonical data grows exponentially with the size of the board, but complexity of thermographs remains constant above board size 15 Complexity of canonical data grows exponentially with the size of the board, but complexity of thermographs remains constant above board size 15

Some Interesting Special Cases A surprising nimber, *2 (unexpected in a partizan game) A surprising nimber, *2 (unexpected in a partizan game) The impact of one square: 7/8 vs. 1v The impact of one square: 7/8 vs. 1v

Experiments in Computer Amazons (Mueller and Tegos) Line Segment Graphs for positions Line Segment Graphs for positions

Defective Territories A k-defective territory provides k less moves than the number of empty squares. A k-defective territory provides k less moves than the number of empty squares. Determining if a territory proves a certain number of moves is an NP-complete problem. Determining if a territory proves a certain number of moves is an NP-complete problem.

Zugzwang Positions in Amazons A simple Zugzwang position is defined as a game a|b where a,b are integers, a < b-1 A simple Zugzwang position is defined as a game a|b where a,b are integers, a < b-1 Trivial in most games, but will have to be played out in Amazons, since it matters who moves first. Trivial in most games, but will have to be played out in Amazons, since it matters who moves first. On the left (below), white will prefer that black moves first. Doesn’t matter on right. On the left (below), white will prefer that black moves first. Doesn’t matter on right.

More Complex Zugzwangs Player who moves first must either take their own region and give region C to the opponent, or take region C and block off their own region: Player who moves first must either take their own region and give region C to the opponent, or take region C and block off their own region: {0|-2||2|0} {0|-2||2|0}

Open Questions/Future Work Do nimber positions greater than *2 exist on a single board? Do nimber positions greater than *2 exist on a single board? 4x4 Amazons has been solved as a win for the second player. 5x5 is a first player win. What about 6x6? 4x4 Amazons has been solved as a win for the second player. 5x5 is a first player win. What about 6x6?