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 for movement, checkmate and both repetition rulings: a side that forces a repetition by perpetual check or perpetual chase loses rather than drawing. The chase half has not been validated against the official casebook. Where an answer refers to a specific position, that position lives on the linked reference page, where the build verifies it 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: your general controls its own file, so the enemy general can never step onto that file while nothing stands between them. That makes your general a free extra guard in many mating patterns. 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.

Try it on a real board

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