---
title: "Xiangqi Notation for Two Pieces on One File · Xiangqi Master"
description: "The file number is replaced by 前 (front) or 後 (rear) in Chinese, or + and − in WXF, to say which of the two pieces moves."
url: https://xiangqimaster.com/blog/how-do-you-write-a-move-with-two-pieces-on-one-file
updated: 2026-09-22
source: Xiangqi Master (https://xiangqimaster.com)
license: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
---

# How do you write a move when two pieces are on the same file?

These answers restate the rules implemented by our open-source engine, which follows the WXF laws and is regression-tested against the official 110-diagram repetition casebook. Where an answer refers to a specific position, that position lives on the linked reference page, where the build verifies it against the engine before publishing.

> Direct answer
>
> You **replace the file number** with a position word. Chinese uses **前** (front) and **後** (rear); WXF uses **+** and **−**. So 前炮平五 and `+C=5` both mean "the front of the two cannons on this file traverses to file five".

## Which one is the front

The one nearer the opponent, from the moving side's point of view. So Red's front cannon is the one further up the board and Black's front cannon is the one further down — the same physical piece is "front" for one side and would be "rear" for the other.

## Three or more on a file

Rare but it happens with soldiers. Chinese then uses 前, 中, 後 for three, and for more than three uses positional numbers counted from the front. In WXF the same idea is written with a number before the piece letter.

## Related questions

Does this apply to any piece type?

Any two identical pieces on the same file — cannons, chariots, horses or soldiers.

What if the two pieces are on different files?

Then the ordinary file number identifies them and no prefix is needed.

## Related xiangqi resources

Reading notation

炮二平五 and C2=5 — the same move, two ways

The double cannon mate

重炮 — two cannons on one file

Xiangqi glossary

Every term, with the Chinese and the WXF spelling

## Try it on a real board

Reading an answer is one thing; playing it is another. Free, instant, and nothing to install.
