Rules
Xiangqi – Rules
Chinese chess: two armies face each other across a river, each general locked in a palace. Chariots charge, cannons leap, horses gallop -- trap the enemy general before it traps yours.
GrokipediaGoal
Checkmate the opposing general: attack it so that no move saves it. Red moves first, then the players take turns. A player who cannot move at all also loses -- there is no stalemate draw.
The board
Pieces stand on the points where the lines cross, 9 by 10. The river across the middle divides the two sides; each side has a palace, the 3 × 3 square marked with diagonals.
General and advisors
The general (帥/將) moves one point along a line and never leaves its palace. The advisors (仕/士) move one point diagonally, also only in the palace. The two generals may never face each other on an open file.
Elephants
The elephant (相/象) moves exactly two points diagonally and may not cross the river. It is blocked if the point in between is taken.
Horses
The horse (傌/馬) moves one point along a line, then one diagonally outward. If the point next to it in that direction is taken, it cannot go that way: the horse is hobbled.
Chariots and cannons
The chariot (俥/車) moves any distance along a line, like a rook. The cannon (炮/砲) moves the same way, but captures only by jumping exactly one piece -- of either colour -- on the way.
Soldiers
The soldier (兵/卒) moves one point forward. Across the river it may also move one point sideways. It never moves back.
Draws and repetition
A position repeated three times ends the game: if one player gave check with every move since, that player loses -- perpetual check is not allowed; otherwise it is a draw. 120 moves without a capture are a draw too.
Playing here
Click one of your pieces: dots show where it can go, rings where it captures. Click a dot to move. Hover over a piece to see its name. The last move is marked; a general in check glows red.