The board and setup

STARTING POSITION楚河界漢Mistboard
  • Pieces stand on points, where the lines cross. The board has 9 files and 10 ranks.
  • The river splits the board in half. Elephants never cross it; soldiers gain a sideways step once they do.
  • The palace is the 3 by 3 box marked with diagonals on each side's back ranks. The general and advisors never leave it.
  • Each side has 16 pieces: one general, two advisors, two elephants, two horses, two chariots, two cannons and five soldiers.
  • The back rank holds, from edge to edge, a chariot, horse, elephant, advisor, general, advisor, elephant, horse and chariot. The cannons stand two ranks ahead on the b and h files, and the soldiers one rank further on the a, c, e, g and i files.

The pieces

A piece captures by landing on an enemy piece. No piece moves through an occupied point, except the cannon when it captures.

General

GENERAL楚河界漢Mistboard

The general moves one point along a line and never leaves its palace.

FACING: FORBIDDEN楚河界漢MistboardSCREENED: ALLOWED楚河界漢Mistboard

The generals may never face each other on a file with nothing between them. A move that opens that file is illegal, so a general guards the file in front of it like a chariot.

Advisor

ADVISOR楚河界漢Mistboard

The advisor moves one point diagonally and never leaves its palace, so it has only five points to stand on.

Elephant

THE RIVER楚河界漢MistboardTHE EYE楚河界漢Mistboard

The elephant moves exactly two points diagonally and never crosses the river, so it has seven points on its own half. A piece on the point in between blocks the move; that point is called the elephant's eye.

Horse

A HORSE MOVE楚河界漢MistboardTHE HORSE ON C3楚河界漢Mistboard

The horse moves one point along a line, then one point diagonally outward. It moves like a chess knight, but it cannot jump.

UNOBSTRUCTED楚河界漢MistboardLEG BLOCKED楚河界漢Mistboard

A piece on the first point blocks that move. That point is called the horse's leg. At the start, the elephant beside each horse blocks its way toward the centre.

Chariot

CHARIOT楚河界漢Mistboard

The chariot moves any distance along a line, like a chess rook. It is the strongest piece on the board.

Cannon

MOVE楚河界漢MistboardCAPTURE楚河界漢Mistboard

The cannon moves like a chariot when it is not capturing.

CAPTURES BY JUMPING楚河界漢MistboardTHE CANNON TAKES A HORSE楚河界漢Mistboard

To capture, the cannon jumps exactly one piece, of either colour, and lands on the enemy piece beyond it. The piece it jumps is called the screen. Here the red cannon jumps the black cannon and takes the horse behind it.

Soldier

BEFORE THE RIVER楚河界漢MistboardACROSS THE RIVER楚河界漢Mistboard

The soldier moves one point straight forward and never backward, and it captures the same way. Once it crosses the river it may also step one point sideways, and on the last rank it can only step sideways. It never promotes.

Check, checkmate, and draws

Answer every check. A move that leaves your own general attacked is illegal. A general can help mate from the far end of an open file, because the enemy general may not step onto that file.

WhenResult
You have no legal move and are in checkCheckmate: you lose.
You have no legal move and are not in checkStalemate: you lose too.
The same position, with the same side to move, comes a third timeWhoever checked on every move of the cycle loses. If both sides did, or neither did, it is a draw.
120 plies (60 moves each) pass without a captureDraw.

For chess players

  • Stalemate loses for the player who cannot move. It is no escape from a lost game.
  • Perpetual check loses for the side giving it, where chess would call it a draw.
  • The generals may not face each other, so a piece standing between them may be pinned there.
  • A piece between an enemy cannon and your general is a screen: the cannon then gives check.
  • Horses and elephants can be blocked. Check the leg and the eye before you plan a move.
  • Soldiers capture straight ahead, never diagonally, and never promote.
  • There is no castling and no double first step.
BEFORE THE RIVER楚河界漢MistboardACROSS THE RIVER楚河界漢MistboardON THE LAST RANK楚河界漢Mistboard

Reading xiangqi moves

  • Algebraic notation is the default here outside Chinese. Files run a to i from Red's left and ranks 1 to 10 from Red's side, so the central cannon opening is Che3.
  • WXF notation numbers the files from each player's right. The same move is C2.5: the cannon on file 2 moves across to file 5.
  • Chinese notation writes the WXF form in characters. The move list setting switches between all three.

A famous game

A trap from a manual printed in 1632. Red gives up a horse; when Black takes it, Red's chariots and cannons pour through the gap and mate on move 13.

For a first opening: Red's most common is the central cannon, aimed down the centre file, and Black's most common answer is the screen horses, both horses guarding the centre. Central Cannon vs Screen Horses collects model games.

Common questions

How does each piece move in xiangqi?
The general moves one point along a line and the advisor one point diagonally, both inside the palace. The elephant moves two points diagonally and never crosses the river. The horse moves one point along a line, then one diagonally outward, and is blocked if the first point is taken. The chariot moves any distance along a line. The cannon moves like a chariot but captures by jumping exactly one piece. The soldier moves one point forward, and sideways too once it has crossed the river.
How big is a xiangqi board, and how many pieces are there?
9 files by 10 ranks, 90 points, with pieces on the points. There are 32 pieces, 16 a side.
What can a soldier capture?
An enemy piece on a point it could move to: straight ahead, and after the river also left and right. Never backward or diagonally.
Can the general capture a soldier?
Yes, on an adjacent point along a line, as long as it stays in the palace and the move does not leave the generals facing each other.
What is the flying general rule?
The two generals may never face each other on an open file. The name comes from the idea that a general could fly down the file and capture the other. Any move that would leave them facing is illegal.
Which xiangqi pieces are worth the most?
A common rule of thumb: chariot 9, cannon 4.5, horse 4, advisor 2, elephant 2, soldier 1 before the river and 2 after.
How do you win at xiangqi?
Checkmate the general, or leave your opponent with no legal move: stalemate is a loss for the player who cannot move.
Is perpetual check allowed in xiangqi?
No. If the position repeats three times and one side checked on every move of the cycle, that side loses. If both did, or neither did, it is a draw.
When was xiangqi invented?
The modern game, with the cannon on the board, took shape in China during the Song dynasty (960 to 1279). Its ancestors run several centuries earlier. Its siblings are janggi in Korea and shogi in Japan, and it shares a more distant root with chess.
What is the difference between xiangqi and chess?
Pieces stand on the points of a 9 by 10 grid. A river splits the board and a palace confines the general and advisors. The cannon captures by jumping, the horse and elephant can be blocked, soldiers never promote, and stalemate loses.

Play on Mistboard

Play it here in English with no account: find an opponent, invite a friend, or take on eight bot levels, and every finished game gets a move-by-move review. Rated games need an account.

Find an opponentPlay vs computer