There is one piece in xiangqi that attacks the whole length of the board without ever moving: your general. Because the two generals are not allowed to stand on the same file with nothing between them, your general controls every empty point on its file up to the enemy palace. In the endgame this is often the difference between a win and a draw. In the middlegame it quietly turns ordinary checks into checkmates.
This article shows the patterns that use it, including a type of win that has no equivalent in international chess: winning because the opponent has no legal move.
The rule in one sentence
It is illegal for any move to leave the two generals facing each other on the same file with no piece in between. Vietnamese players call a position like that lộ mặt Tướng; in English it is usually called the flying general rule, because you can think of it as one general "flying" across the board to capture the other.
Two consequences matter for attacking play:
- The enemy general cannot step onto your general's file if that file is open between them.
- A piece standing between the two generals is pinned. If it moves off the file, the generals would face each other, so it cannot move off at all.
Pattern 1: chariot check on the back rank
In this position:
- The red general stands on the centre file of its palace. Nothing stands on the centre file between the two palaces, so the centre point of the black palace is forbidden to the black general.
- The chariot checks along the back rank.
- The soldier covers the only other point, directly in front of the general.
Without the red general's help, the black general would simply step to the centre and escape.
Pattern 2: winning with no check at all
In international chess, a king with no legal moves that is not in check means stalemate — a draw. In xiangqi, a player with no legal move loses. Combined with the flying general rule, this gives the attacker a whole family of quiet wins.
This is how a lone horse, together with its general, can beat a bare general in the endgame: the horse on its own can never attack two neighbouring points at once, but the red general takes away one of them from across the board, and the rule that no legal move loses the game does the rest.
Pattern 3: the pinned defender
Suppose a black horse stands on the centre file between the two generals. It cannot move off the file, because that would leave the generals facing. The attacker can now treat it as a frozen piece: attack it, ignore it, or use it as a screen for a cannon. Many tactical wins in the middlegame come from spotting that an enemy piece is pinned by your general and cannot join the defence.
Using your general actively
Chess players tend to leave the king alone. In xiangqi, strong players move the general sideways inside the palace as a deliberate attacking move — K5=4 or K5=6 in WXF notation — to claim the file next to the centre. After that:
- The enemy general cannot use that file.
- A chariot on the enemy back rank next to the general is protected by your general from across the board (see the iron bolt mate).
- Soldiers approaching the enemy palace become much more dangerous, because the enemy general has fewer squares.
A quiet general move is often stronger than a flashy check.
Defending against flying general tactics
- Know which files are forbidden. Before planning an escape route for your general, look at the enemy general's file.
- Keep a blocker in reserve. A piece that can drop onto the file between the generals — an advisor stepping to the centre, a cannon sliding across — breaks the attacker's control.
- Don't let your general get cornered on the edge of the palace. The palace-edge files are where the combination of an enemy general on the next file and a chariot check is most deadly.
- Count legal moves, not just checks. In xiangqi you can lose without being in check. When material is low, make sure your general always has a spare move.
Practise it
- Set up the second diagram and remove the red general. Notice how the black general walks to the centre and the win disappears.
- In endgames against the computer on the home board, make it a habit to move your general to the file next to the centre early.
- Read stalemate is a loss for a full explanation of the no-move rule, and horse endgames for how it decides practical endings.
Pattern 4: the general supports a soldier
Late in the game, a single soldier that has crossed the river becomes a mating piece with your general's help. The soldier approaches the enemy palace and takes away the point in front of the enemy general; your general, on the file next to the centre, takes away another; and the enemy general is left with fewer and fewer moves. Because a player with no legal move loses, the soldier does not even need to give check. See soldier endgames for the details.
Checking the rule during your own games
Two quick questions cover almost every flying general situation:
- Which file is each general on, and is anything between them? If the file is open, neither general can step onto the other's file.
- Which of my pieces is the only piece between the generals? That piece is pinned: it may move along the file, but not off it.
Ask these at the start of every endgame and whenever a file between the palaces opens. They take a few seconds and prevent a whole class of blunders — both missing wins and walking into losses.
Frequently asked questions
Is it legal for my general to move onto the enemy general's file?
Only if at least one piece stands between them on that file. If the file is open, the move is illegal.
Can a piece between the two generals move?
It can move along the file, but not off it, if moving off would leave the generals facing each other with nothing between them.
Why is having no legal move a loss in xiangqi?
That is simply the rule of the game: the player who cannot make a legal move loses, whether or not they are in check. It makes the endgame very different from international chess.
Can the general really help attack in the middlegame?
Yes. Moving the general to the file next to the centre is a common attacking idea. It takes that file away from the enemy general and supports chariot and soldier checks.
What is the most common mistake with this rule?
Forgetting it exists when planning an escape. Many players lose because their general's only flight square was on the opponent's general's file.