CPSC 312 Project 2: Chinese Chess

From UBC Wiki

Author

Jixing (Leo) Li

Jiayao (Raymond) Chen

Chen (Phoenix) Song

What is the problem? 

Xiangqi, also known as Chinese chess, is a strategy board game for two players. It is one of the most popular board games in China, and is in the same family as Western (or international) chess, chaturanga, shogi, Indian chess and janggi. (2018, Wiki, Xiangqi).

 What is the something extra? 

We want to develop a prolog system simulating the rules of Xiangqi and give a best solution among all the possible ones given a finite number of moves.

 What did we learn from doing this? 

Programming the prolog way!.

Predictive move is actually harder than we expected.

 Links to code

https://github.com/Raymond-yao/CPSC_312-chess