Heuristic AI for XiangQi

Slides:



Advertisements
Similar presentations
EXPLORING FEUDALISM THROUGH THE GAME OF CHESS
Advertisements

Apostles Chess Club Lesson #4. Algebraic Chess Notation System The board is set up from white’s position. Black must look at the board from the white.
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.
Chinese Chess (XiangQi) Introduction Confucius Institute Friends of Chinese Chess in Finland(Kiisys) r.y.
How to Win a Chinese Chess Game Reinforcement Learning Cheng, Wen Ju.
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.
CHESS FOR KIDS Lesson 1.
L.O. Today you will learn how to play chess. How to Play Chess.
Chess: Shootmenow Edition By: Sean Sprigg and Tom Samaras.
Application of Artificial intelligence to Chess Playing Capstone Design Project 2004 Jason Cook Bitboards  Bitboards are 64 bit unsigned integers, with.
Welcome to the basics of chess. This is a graphically designed program that will help you learn how to play chess. By Amir and Mike, 9B.
Chinese Chess 象棋 xìang qí. History Evolved from another game: Liubo, which was invented about 3500 years ago Xiangqi emerged around the Tang dynasty (at.
Chess!!. Pawn How many pieces? 8 Value: Lowest What can it do? Move forward only one space at a time. Attack: Only Diagonally.
By :Shawn G3Y. The History Of Chinese Chess Chinese Chess is also called XiangQi ( 象棋) Evolved from an ancient Chinese game called Liubo that was invented.
How to play Chess.
COME JOIN IN ALL THE FUN Beginner Chess Club.
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.
Lecture 5CSE Intro to Cognitive Science1 Algorithmic Thinking III.
Chess Robin Burke GAM 206. Outline o A little chess history o Play.
Game Playing.
Apostles Chess Club Session Three. Chess Piece Symbols The symbols shown above are the ones most used when showing chess pieces in print or on the internet.
Prepared by : Walaa Maqdasawi Razan Jararah Supervised by: Dr. Aladdin Masri.
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.
How to Play Chess By: John. Dedication I dedicate this project to my family because we all love chess.
Connect Four AI Robert Burns and Brett Crawford. Connect Four  A board with at least six rows and seven columns  Two players: one with red discs and.
Games. Adversaries Consider the process of reasoning when an adversary is trying to defeat our efforts In game playing situations one searches down the.
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.
Chess By Kezia Farley.
Summary of the Moves of Chess
Lesson 1 History of Chess Why We Teach Chess Goal of Chess.
Chess By Kyle Fischer. What is chess? Chess is a game that you try to get the other person’s king in a checkmate.
Rules Of Chess!!!!!! By: Caylin Stappenbeck. Table Of Contents!!!! Rules*** Conclusion***
A game based off of the esteemed classic By: Tadziu Kosiara.
Each piece is represented by a symbol. The pieces all stand in the same position at the start of the game the pieces are the Rook, the Knight, the Bishop,
What is chess???? The game chess has been described as an art, a science and a sport. Almost anyone can learn how to play. Some top chess champions can.
How to play chess? By Mervyn George. The Rules of the Game White always move first White always move first You should always play touch a piece move a.
CHESS 2: Castling and Forking…and a Stalemate A Levoy Power Point.
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.
CHESS Basics for Beginners. BOARD SET-UP The letters go across the board in front of you. “White on right!” Each player has a white square in their right.
A Levoy PowerPoint Presentation
CompSci Backtracking, Search, Heuristics l Many problems require an approach similar to solving a maze ä Certain mazes can be solved using the.
CHESS Club.  The game of chess is over 1300 years old and is one of the most popular games in the world. It has received more total thought time than.
When the king is being attacked directly by an opponent’s piece we say the king is in check.
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.
CHESS “The Ultimate GAME of Challenge and Strategy”
Ab & Team Presents CHESS “It’s not just a game”.
Stuart Russell and Jason Wolfe UC Berkeley
Ramblewood Middle Chess Club
CHESS PIECES.
How To Play Chess (And other Information)
Symmetry in Board and Video Games
CHESS.
How to play chess ? By Peter Mann A Beginners Guide.
Greenways Gladiators Chess Club
Chess Basics: Set Up the Board & Basic Rules
Checkers Move Prediction Algorithms
Alpha-Beta Search.
Kevin Mason Michael Suggs
NIM - a two person game n objects are in one pile
Alpha-Beta Search.
Alpha-Beta Search.
Every chess master was once a beginner. Irving Chernev
Alpha-Beta Search.
Rules to play chess. Chess is a played with 16 pieces: 8 pawns, 2 towers, 2 knights, 2 bishops, 1 queen and 1 king. Movements: Pawns: They only can move.
FOUR PLAYER CHESS.
Alpha-Beta Search.
2019 SAIMC Puzzle Challenge General Regulations
Presentation transcript:

Heuristic AI for XiangQi Kaur Karus, Mari Liis Velner Institute of Computer Science, University of Tartu Computer Science, MSc Introduction XiangQi or Chinese Chess is a two-player strategic board game similar to Western Chess. It is played on a 9-by-10 table with 16 pieces for each player and a river in the middle to divide the board. With pieces divided into defensive and offensive units, some movement restrictions and a larger board, it requires more strategy than common chess and is deemed to be more complex for machines. Checkmate is achieved when a player has no legal moves left to play. Stalemate is achieved when the game lasts for over 300 moves or neither player has any offensive (that can cross the river) pieces remaining. We created multiple heuristic models that can play and successfully win against casual human players as well as a randomly playing model. We also evaluated their performance against each other. Advisor Can only move one step diagonally within the Palace (3x3 area marked by diagonal lines) Figure 1. Initial table state Elephant Can only move 2 steps diagonally. Cannot cross the River (clear section in the middle of the board) Horse (Knight) Similarly to the Knight in Western Chess, can only move 2 steps forward, 1 step sideways in any direction. Can be blocked by pieces placed directly adjacent in the moving path. Chariot (Rook) Similar to the Rook in Western Chess, can move on any unblocked vertical or horizontal path. Cannon Similar to the Chariot in movement, but can only take an opposing piece if it has to jump over a single other piece. Soldier (Pawn) Figure 2. Example winning state – opponent is in inescapable check from Cannon (top-left) Can move one step forward until crossing the river. Once the river can be crossed, the Soldier can also move one step to either side. Does not get promoted. Created models MoveMaxxer (2) – try to maximize the number of available moves while minimizing the number of possible opponent moves. Can prioritize more “valuable”/powerful pieces. SingleFocus – try to opportunistically take and threaten “valuable” opponent pieces while defending own “valuable” pieces. TriTac – three-stage model that changes its tactic depending on the board state. Annealing – uses simulated annealing to balance move availability, pieces threatened and friendly pieces being defended. Governor (King) Can only move one step horizontally or vertically inside the Palace. Can never be on the same vertical line as the opposing Governor with no pieces between them (“Flying Governor rule”). Conclusions The decision tree complexity of XiangQi is estimated at 10150, while the complexity of Western chess is only 10123. This makes creating an effective, but simple AI a daunting task. Creating heuristic AI for an uncommon strategy-rich board game is deceptively simple. However, creating effective heuristics to use for move evaluation while on limited processing power is a notable challenge, as evidenced by a failed AlphaBeta model, which in essence aims to speed up minimax, but was unbearably slow. For Chinese Chess, heuristics based on simulated annealing or maximizing possible moves proved to work most efficiently. To a subjective evaluator, the SingleFocus model was found to be most interesting to play against due to unexpected acts of aggression. https://github.com/kaurix02/XiangQiAI