Why does xiangqi need a flying general rule when chess has no equivalent?
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
Because xiangqi confines both generals to a small three-by-three palace directly facing each other across the board, a structural feature western chess simply does not have. Without a rule against two generals meeting on an open file with nothing between them, that specific confrontation would need a separate ruling every time it arose, so the game states it directly instead: it is treated as if the generals could capture one another there, making it an illegal position to allow.
Why this is a design necessity rather than an afterthought
Because both generals are restricted to their palaces, they inevitably end up on the same file quite often over the course of a game, and only the palace and any pieces between them normally prevent this from mattering. Chess has no equivalent restriction confining kings to a fixed small zone facing one another, so the situation the flying general rule addresses essentially cannot arise there in the same structural way.
What the rule actually adds to strategy
Rather than being a rare curiosity, it is a genuine and recurring tactical resource: a general controls its own file, so the enemy general can never step onto that file while nothing stands between them, which takes squares away from it in many mating patterns. Moving the last piece out from between the generals is never a way to give check; it is simply illegal for the side that tries it. See the flying general rule for the mechanics in full.
Related questions
Is the flying general rule ancient?
It follows naturally from the palace-and-general design, which is part of the game's Song-dynasty core, though it is difficult to date the rule's precise codification separately from the piece set itself.
Does any other game in the family have something similar?
Janggi shares the palace confinement for its generals but handles the facing generals differently: there the position (bikjang) is legal, and rule sets differ on what follows from it.