How to play xiangqi

Seven kinds of pieces. One goal: trap the enemy general.

Try a game
GeneralK
One point at a time, never leaving the palace.
AdvisorA
One point diagonally, inside the palace.
ElephantE
Two points diagonally. Never crosses the river.
HorseH
One step straight, then one diagonal, like a knight.
ChariotR
Any distance in a straight line, like a rook.
CannonC
Moves like a chariot, but captures by jumping one piece.
SoldierP
Forward only; sideways too once across the river.
The blocked horse
A piece beside the horse blocks that way: this horse can't jump past its elephant.
Facing generals
The generals may never face each other on an open file.

Stalemate loses

If you have no legal move, you lose — unlike chess.

Try it

Capture with the cannon

Jump over your own soldier to take the one behind it.

The rules in full

The board has nine vertical lines and ten horizontal ones. Pieces stand on the 90 points where they cross. The empty band in the middle is the river; the 3 × 3 area marked with an X at each end is the palace. Red moves first.

Every piece except the cannon captures by moving onto an enemy piece. The cannon moves like a chariot but captures only by jumping over exactly one piece, of either colour. A horse is blocked by a piece on the point next to it in the direction it wants to go, and an elephant by a piece on the point between.

Check, checkmate and draws

A move that threatens to capture the general is a check, and the side in check must escape at once. If it can't, it is checkmate and the game is over. The two generals may never face each other on the same file with nothing in between, so a general controls its whole file.