象棋 Learn Xiangqi

Xiangqi notation

Three ways to write the same move, and how to read all of them

Open a xiangqi book and the moves look like 炮二平五. Open an engine log and the same move is C2=5. This site writes it 炮h7→e7. All three describe one cannon moving to the centre file, and the difference between them is the single biggest obstacle between an English speaker and the literature. This page is how to read each one — and you can switch the board between them in Settings while you play.

1. One move, three ways

Red opens by swinging the right-hand cannon to the centre file — the most common first move in xiangqi, and the start of the Central Cannon. Written out:

The last one is the odd one out, and deliberately so. It is absolute: it names the square the piece left and the square it arrived at, using the letters along the bottom of the board and the numbers up the side. Nothing has to be worked out. The other two are relative — they describe the move from the moving player's own point of view — which is why they are shorter, and why they take a page to explain.

2. Files are numbered from your own right

This is the rule everything else rests on, and it is the one that surprises chess players. There is no fixed grid. Each side numbers the nine files 1 to 9 starting from its own right-hand edge, so the two players count in opposite directions and the same physical file has two different numbers depending on who is talking.

Red's file 1 is Black's file 9. The centre file is 5 for both, which is the one thing they agree on — and the reason so many named openings are about file 5.

The nine files, numbered from each side's own right 1 2 3 4 5 6 7 8 9
The same nine lines, counted twice. Black reads them left to right as 1 to 9 because Black's right-hand edge is on the left of this picture; Red reads them the other way in Chinese numerals. Only the centre agrees — it is 五 to Red and 5 to Black, which is why so many named openings are about file five.

3. Red writes Chinese numerals, Black writes Arabic

In a Chinese score you can tell whose move you are reading at a glance, because the two sides use different numerals:

So 炮二平五 is Red and 砲2平5 is Black — and those are two different moves on two different sides of the board, despite reading almost identically. Red's cannon is written 炮 and Black's 砲; the same distinction runs through the soldiers, which are 兵 for Red and 卒 for Black. WXF drops all of this and writes both sides in Latin, relying on whose turn it is instead.

4. The three verbs

A traditional move is piece, file, verb, number. There are only three verbs:

"Forward" is relative too: Red advances up the board and Black advances down it, so 进 means opposite physical directions for the two players.

進 for Red and for Black, pointing opposite ways
Both soldiers are about to play 进一 — "forward one". The gold dots are where they land. Red advances up this picture and Black advances down it, so the same word is two directions and the notation never says which, because whose move it is already told you.

5. What the last number means depends on the piece

For a move straight along a file or rank, the last number is how many ranks the piece crossed — 車九进一 is the chariot on file 9 advancing one rank. But the advisor, the elephant and the horse all move diagonally or in an L, where a count of ranks would not say where the piece landed. Those three name the file they arrived at instead.

So 馬八进七 is the horse on Red's file 8 moving forward and ending on file 7 — not moving seven ranks, which no horse can do. And 相七进五 is the elephant from file 7 landing on file 5. If you remember one exception on this page, make it this one.

6. Two pieces on the same file

Naming a piece by its file stops working when two of the same type sit on that file — two chariots, or two cannons, or a stack of soldiers. Then the file number is replaced by a position word:

"Front" means nearer the enemy, so it flips with the side, like everything else here. Four or five soldiers on one file is legal and effectively unseen; scores that hit it number them from the front rather than inventing new words.

7. Worked examples

Every line below is a real opening move from the starting position, written all three ways. Compare the first two columns and the rules above should click:

8. Which one should you learn?

Read in the coordinate form, write in whichever you like, and learn the traditional form when you want the books. That order is deliberate. The coordinate form costs nothing to learn and lets you follow a game today; the traditional form is what every Chinese-language book, broadcast and puzzle collection uses, and there is a great deal more xiangqi written in it than in anything else.

WXF sits in between and is worth recognising rather than learning: it is what engines, databases and English-language software emit, so it is the form you will meet in a file rather than on a page.

Start a game and open Settings — the move list will re-letter itself into whichever notation you pick, the same moves in all three alphabets. Reading your own game back is the fastest way to learn any of them. Next: the named openings, which are mostly sentences about file 5.