I have provided on python file for this command-line game of Xiangqi.
I have created a command-line version of the Xiangqi Game.
Rules (from : Wikipedia)
A very popular board game in China, similar to chess.
- Initialize the game using: game_name = XiangqiGame()
- Make moves using the function: game_name.makemove('c1','e3'), letters go horizontally from a-i and numbers go vertically from 1 (top) to 10 (bottom).
- Red goes first.
- Play the game!