← StudyX Devlog

What Is Xiangqi? How Chinese Chess Differs from Shogi and Chess

Hiroki ObaraHiroki Obara Ā· DeveloperStudyX MindsportsHow-To
What Is Xiangqi? How Chinese Chess Differs from Shogi and Chess

A xiangqi board is made of nine vertical lines and ten horizontal lines. The pieces do not sit inside squares. They stand on the 90 points where the lines cross. There are 32 pieces, 16 for Red and 16 for Black. All of this is in Article 1 of the World Xiangqi Rules (2018 English edition) published by the World Xiangqi Federation (WXF). The regulations of the 19th World Xiangqi Championship, set for Shanghai in September 2025, state that these rules apply.

Xiangqi, often called Chinese chess, shares a lot with chess and shogi. You win by checkmating the enemy king, and the players move one piece at a time in turn. On top of that come a few rules that neither chess nor shogi has. This post goes through them, setting the WXF rules beside the FIDE Laws of Chess and the Japan Shogi Association’s rules of play (in Japanese).

The board: the river and the palaces

Across the middle of the board, between the fifth and sixth horizontal lines, is an empty band with no vertical lines running through it. This is the river. The rules recommend writing the Chinese words ę„šę²³ę¼¢ē•Œ in it.

Each side also has a palace. It is the area bounded by the first three horizontal lines on that side and the three middle vertical lines, with two diagonal lines crossing it in an X.

Chess is played on 64 squares (8 by 8) and shogi on 81 squares (9 by 9). In xiangqi, as in Go, the pieces go on the intersections.

The pieces and how they move

Some pieces carry a different Chinese character for Red and for Black, even though they move the same way.

Piece Red Black Number Movement
King åø„ 將 1 One point forward, back or sideways, inside the palace. Never diagonally
Advisor 仕 士 2 One point along the diagonal lines of the palace
Elephant 相 č±” 2 Two points diagonally. Blocked if a piece stands on the point in between. Cannot cross the river
Chariot 車 車 2 Any number of points along a line, as long as nothing is in the way
Horse 馬 馬 2 One point straight, then one point diagonally in the same direction. Blocked if a piece stands on that first point
Cannon ē‚® ē ² 2 Moves like the chariot. To capture, it must jump over exactly one piece
Pawn 兵 卒 5 One point forward. After crossing the river, also one point sideways. Never backward

The WXF rules call the blocking point in the elephant’s path the ā€œElephant’s Eyeā€, and a piece that stops the horse is said to be ā€œblocking the Horseā€.

The king and advisors cannot leave the palace, and the elephants cannot leave their own half of the board. Neither chess nor shogi keeps the king and its guards inside a fixed area.

How the cannon captures

When the cannon simply moves, it moves like the chariot. To capture, it needs exactly one piece between itself and its target. The rules call that piece the ā€œcannon mountā€, and it can belong to either side.

This already happens in the starting position. On the file of Red’s right-hand cannon, there is a Black cannon further up, and behind that a Black horse. Red’s cannon can jump over the Black cannon and capture the horse on its very first move. Once there, it stands right next to a Black chariot, which can take it back.

A chariot cannot capture past a piece in its way. The cannon is the opposite: without exactly one piece in between, it cannot capture at all.

The kings may not face each other

Article 2 of the rules says the two kings may not stand on the same file with no piece between them.

In the starting position the kings are on the same middle file, but Red’s and Black’s centre pawns stand between them. If only one piece is left between the kings, moving it off that file would leave them facing each other, so that move is not allowed.

A player who leaves the kings facing each other with their own move loses. Article 4 groups this with leaving a check unanswered and moving one’s king into capture, and calls all of them moves that ā€œcommit suicideā€.

Captured pieces stay off the board, and nothing promotes

In xiangqi, a captured piece is removed from the board. That matches chess and differs from shogi. Under Article 5 of the Japan Shogi Association’s rules, a captured piece becomes a piece in hand and can be placed on any empty square. Drops in shogi are covered in Shogi Promotion and Drops.

The xiangqi rules also have no promotion. After crossing the river a pawn may move sideways as well, but even on the far edge of the board it is still a pawn. In chess, a pawn that reaches the last rank is exchanged for a queen, rook, bishop or knight (FIDE Laws, Article 3.7.3.3).

Winning, losing and drawing

As in chess and shogi, you win by checkmating the enemy king. Article 2 lists three ways to answer a check: move the king out of check, capture the checking piece, or put a piece in between. Against a check from a cannon, you can also move away your own piece that serves as its mount. The three answers in chess are in Check vs Checkmate.

The difference comes when a player has no move. Under Article 3 of the WXF rules, a player who has no legal move on their turn is stalemated and loses. In chess, a player to move with no legal move whose king is not in check is in stalemate, and the game is a draw (FIDE Laws, Article 5.2.1).

Repetition is handled differently too. In chess, a player can claim a draw when the same position appears for the third time, and the game is drawn when it appears for the fifth time (Articles 9.2 and 9.6). In xiangqi, Article 20 says a player who gives perpetual check loses, under all circumstances. Only when both players give perpetual checks at the same time is the game a draw. If the position repeats four times, neither side has made a prohibited move and neither will change, the game is drawn (Article 3).

Shogi has a similar rule. Under Article 10 of the Japan Shogi Association’s rules, if the same position appears four times and every move by one side in that sequence was a check, the side giving the checks loses. Other shogi fouls are covered in Fouls in Shogi.

Red moves first (Article 4). In chess White moves first, and in shogi the first player is decided by tossing pieces.

Side by side

Xiangqi Shogi Chess
Where pieces stand 90 intersections of 9 by 10 lines 81 squares (9 by 9) 64 squares (8 by 8)
Moves first Red The first player, decided by tossing pieces White
Captured pieces Removed from the board Can be dropped back in Removed from the board
Promotion None In the enemy camp A pawn on the last rank
Where the king can go Inside the palace only Anywhere Anywhere
Kings facing each other The player who caused it loses No such rule No such rule
Repetition with perpetual check The checking side loses The checking side loses Draw by repetition

Xiangqi as a mind sport, and its place at the Asian Games, is covered in What Are Mind Sports?

About Mindsports

Mindsports is an app with 12 mind sports, including chess, shogi, Go, mahjong and bridge, for iPhone, iPad and Android. Xiangqi is played on a board with the river and the palaces, and competition rules are supported. The xiangqi beginner lessons teach the rules through tap-to-answer quizzes and then let you practise in real game positions. The CPU runs from Lv.1 to Lv.50, one level up per win and one down per loss. Two people can also play on one device, and Review lets you step through a finished game one move at a time. The games and beginner lessons are free, with ads. A one-time ā€œUnlock Allā€ purchase opens all advanced lessons and removes the ads.

How to use the app is in Getting Started with StudyX Mindsports, and two-player games and handicaps are in Two Players on One Device.

Download on the App Store Get it on Google Play

StudyX MindsportsMind games for families