What happens if I touch a piece by accident in xiangqi?

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

Under touch-move, which applies in formal play, a piece you touch with intent to move it must be moved if any legal move for it exists. This is exactly the chess rule, and it exists for the same reason: without it, players could feel out a piece's options before committing. In casual and park play, the rule is usually relaxed or ignored entirely.

What counts as "touching" in practice

Deliberately picking up or clearly indicating a piece, not brushing it while reaching for another one. An arbiter in formal play makes the judgement call on genuine accidents, and most events allow adjusting a piece's position (announcing it first) without triggering the rule, the same "j'adoube" convention chess uses.

Why it matters more here than you might expect

Because a xiangqi move can be irreversible in a way that matters fast, moving a piece off the point that was blocking a horse's leg or an elephant's eye can hand the opponent an immediate tactic. Think before you touch, not after.

Related questions

Is touch-move enforced in casual online play?

Online interfaces typically let you cancel a selection before confirming a move, so the physical touch-move problem mostly does not arise.

What if I touch an opponent's piece by mistake?

Under strict touch-move, touching an opponent's piece obliges you to capture it if a legal capture exists. In casual play this is rarely enforced.

Try it on a real board

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