---
title: "What Happens When Two Generals Face Each Other? · Xiangqi Master"
description: "It cannot happen: the flying general rule makes any move that would leave the two generals facing on a clear file illegal, for both sides, at all times."
url: https://xiangqimaster.com/blog/what-happens-when-two-generals-face-each-other-on-an-open-file
updated: 2026-09-22
source: Xiangqi Master (https://xiangqimaster.com)
license: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
---

# What happens when the two generals face each other on an open 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
>
> **It never actually happens on the board, because the rule forbids it.** If nothing sits between the two generals on the same file, they are considered to be attacking each other directly, so any move that would create that situation, including moving the piece that was blocking it, is **simply illegal**. This is the **flying general** rule, and it has no equivalent in western chess.

## Why this trips up new players constantly

A piece sitting between the two generals can look completely free to move, nothing else is attacking it or pinning it in any way a chess player would recognise, and yet moving it is still refused. The reason is invisible until you know to look down the file at the other general. See [the flying general rule](https://xiangqimaster.com/rules/flying-general) for the full mechanics.

## Why it matters beyond just avoiding illegal moves

It can be a genuine attacking resource: if you can force every piece off the file between the two generals, your own general effectively delivers check down that file, acting like a free extra chariot aimed at the enemy general. Strong players watch for this actively rather than treating it as a rare curiosity.

## Related questions

Can this rule ever be waived or ignored?

No. It applies at every point in every game, with no exceptions.

Does a piece between the generals count as pinned?

Effectively yes, though the mechanism is different from a chess pin: it cannot move off that file at all, regardless of what attacks it.

## Related xiangqi resources

The flying general

Generals may never face each other down an open file

How the general moves

One point orthogonally, never leaves the palace

Check and checkmate

Including why stalemate is a loss

## Try it on a real board

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