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 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.