The Xiangqi guide

Learn the rules of Chinese chess, try three puzzles, and see how tournament arbiters rule on repetition.

Starting position, with the river in the centre and an X marking each palace.

General rules

The board
Pieces sit on the intersections. Red moves first. Each side has a 3 × 3 palace, and the river divides the board into two halves.
Palace pieces
The general moves one point horizontally or vertically. The advisor moves one point diagonally. Both stay inside their own palace.
Horse and elephant
The horse takes one straight step and then one diagonal step outward. The elephant moves two points diagonally and stays on its own side of the river. A piece can block the horse’s first step or the elephant’s midpoint.
Chariot, cannon and soldier
The chariot slides horizontally or vertically. The cannon moves like a chariot and jumps over exactly one piece to capture. The soldier advances one point and can also step sideways after crossing the river.
Ending the game
The generals cannot face each other on an open file. A player with no legal move loses, whether or not their general is in check.

Puzzles

Red moves first in all three positions. Files run from a to i, and ranks from 0 to 9 starting at the bottom.

The cannon’s screen

How can you capture the black chariot on e8?

Red general on d0, cannon on e3 and soldier on e5. Black chariot on e8 and general on f9.
Show solution

e3–e8. The cannon jumps over the red soldier on e5, its only screen, to capture the chariot.

The horse’s leg

Which move is legal, e4–g5 or e4–f6?

Red general on d0, horse on e4 and soldier on f4. Black general on f9.
Show solution

e4–f6. The first step through e5 is clear. The soldier on f4 blocks the first step towards g5.

Mate in one

Which red chariot move gives checkmate?

Red general on e0, chariot on e6 and soldiers on d8 and f8. Black advisor on e8 and general on e9.
Show solution

e6–e8. The chariot captures the advisor and gives check. The soldiers cover d9 and f9 and protect the chariot on e8.

Repetition

Replay the cycle and look at what each side is doing. A check attacks the general directly. A mating threat prepares mate on a later move. A chase threatens to win a piece. Whether a move counts as a chase depends in part on whether the attacker can be recaptured after taking the piece.

A perpetual check

The red chariot starts on d7, the generals on e0 and e9, and a red soldier on e3.
Starting position. Red to move.
The red chariot has moved to e7 and the black general has escaped to d9.
After 1. d7–e7+ e9–d9.

Red continues with 2. e7–d7+ and Black replies d9–e9, returning to the starting position. The chariot gives check on every Red move. All three rulebooks penalise one-sided perpetual check.

Compare the rulebooks

World Xiangqi Federation (WXF), 2018

A player who perpetually checks loses. If both players give check on every move of the cycle, the game is drawn. Repeated mating threats and alternating check and mating threat are drawn if both sides persist. Chasing a piece protected by a legal recapture is generally permitted. A horse or cannon chasing a chariot is an exception, even if the chariot is defended.

WXF rules, articles 19–21 (English PDF)

Asian Xiangqi Federation (AXF)

The published Asian rules call for a draw if neither player varies when one side repeats a mating threat or alternates check and mating threat. If one side gives perpetual check and the other makes a perpetual chase, the checking side must vary or lose. If both players give check on every move, the game is drawn.

AXF adjudication rules and diagrams 4–12 (English PDF)

Chinese Xiangqi Association (CXA), 2020

The arbiter normally rules on request after three cycles. At that point, a one-sided perpetual check is an immediate loss. Repeated mating threats and some alternating sequences, including check and mating threat, can require one side to vary. In applicable cases that player generally has two turns to vary the moves.

In a tournament, check the rulebook named by the organiser. Mixed cases are judged on the full sequence of moves.