XIANGQI ARENA
What is xiangqiHow to play

Skills and tactics

The named checkmate patterns

Xiangqi’s mating attacks are old enough to have names - poetic ones, like "the immortal points the way" for openings, but sharper for kills: the horse-behind-cannon, the two ghosts pounding the gate, scooping the moon from the sea. Behind each name is a piece geometry that recurs in millions of games, and learning to see the shapes - not calculate them fresh each time - is the single fastest way to convert good positions into finished ones. Here are the twelve patterns our checkmate course drills, in the order the course teaches them.

By the Xiangqi Arena editorial team ·

Why patterns, not calculation

A mating pattern is a proof you carry with you: once you know the shape works, you stop verifying it and start steering toward it. Strong players calculate less in winning positions than beginners do, because they recognise which of these twelve destinations the position can reach and simply route the pieces there. Each section below gives the pattern’s shape, the pieces it needs, and the defensive resource that beats it - because knowing the antidote is how you use the patterns from the defending chair too.

The diagrams in this guide show the essential shape with the clutter removed. On Xiangqi Arena the same patterns appear in the puzzle campaign with full positions around them - reading, then solving, is the intended order.

The horse-behind-cannon mate

The most famous duo in xiangqi (mahoupao, "cannon behind the horse"): the horse stands guard near the enemy palace, covering the general’s escape squares, while the cannon lines up on the general’s file using the horse as its screen. Neither piece alone threatens anything; together they are checkmate. In the classic shape - shown below - the horse on the palace’s doorstep covers both diagonal flights while the cannon checks straight through it.

The defence, when one exists, is an advisor or elephant interposing on the cannon’s line behind the horse, or evicting the horse before the battery forms. Once both pieces are placed, there is usually nothing to be done - which is why the pattern is less a tactic than a destination.

The essential shape: the horse covers the escape squares while the cannon mates through it. Red at the bottom.

The stacked cannons

Two cannons on one file, the front one serving as the rear one’s screen (chongpao): the rear cannon checks, the general cannot capture what the front cannon protects by standing there, and if the general steps back the rear cannon’s line simply follows through the same screen. Against a general whose advisors occupy the palace’s back corners - blocking his own sideways escape, as in the diagram - the file becomes a corridor with no exits.

The pattern teaches a general truth about cannon pairs: their power is multiplicative on the same line. The standard defence is interposition between the cannons, splitting the battery, or a counter-check that never lets it assemble.

The rear cannon mates through the front one; the general’s own advisors seal the side doors.

The iron-bolt mate

A cannon planted on the central file with a screen bolts the palace shut (tiemen shuan, "the iron door-bolt"): the enemy general cannot cross the file the cannon rakes, so it is confined to one half of the palace. A single chariot then slides to the confined half’s back rank and mates - the bolt holds the door, the chariot walks through it. The pattern wins with astonishingly little force, which is why endgame theory treats a centre-file cannon as worth more than its exchange value.

The defence is the screen: the bolt needs exactly one piece between cannon and general, and the defender fights to remove it, add a second, or trade the mating chariot. As the attacker, guard your screen like the mate itself.

The bolt holds and the chariot walks through: black’s centre advisor cannot leave the cannon’s file, both palace corners are self-blocked, and the back-rank check has no answer.

The trench horse

A horse landing on the point diagonally beside the enemy palace’s front corner - the "trench" (wogucao) - checks the general on its home square with no legal reply: the flight squares are covered by the horse itself and the general’s own furniture. It is the purest one-piece mate in xiangqi, and it appears constantly as a threat that wins material even when the mate itself is defended.

What makes the trench squares special is geometry: from them the horse’s move covers the palace centre and corner simultaneously. Learn the two trench points on each side of the board and horse endgames change character - suddenly every horse manoeuvre has a destination.

The staggered chariots

Two chariots on adjacent lines - one file, one rank, or two files a step apart - alternate checks and walk the general into a corner (jiache). Each check forces the general onto the line the other chariot commands next; the general zigzags exactly where the chariots dictate until the palace runs out of squares. It is the heavy-piece mate every player discovers alone, refined into technique.

The technique’s soul is patience: the chariots never rush, never allow an interposition with tempo, and take the palace’s squares away in strict rotation. The defence is a blocking piece that arrives with a threat, or trading one chariot - which is why the pattern often begins with a deflection sacrifice.

The smothered palace

The general’s own advisors and elephants block every flight square, and a single check ends the game (menshaisi, the "stuffy mate"). Cannons deliver it most often - a cannon check through a screen cannot be blocked by the crowded palace’s pieces because they are the problem, not the solution. The pattern is xiangqi’s memento mori: the defensive shell that protects the general all game is also his tomb if it fills the wrong way.

Attackers engineer it by forcing defensive pieces onto the smothering squares - a sacrifice the defender must accept with the advisor, a check that must be blocked with the elephant. Defenders avoid it by keeping one palace square genuinely free, a habit worth a rating class by itself.

The corner horse

A horse hanging off the palace’s corner point (guajiaoma) covers the general’s diagonal escape while a heavy piece lands the blow. It is the trench horse’s sibling - same piece, the other signature square - and the two together mean a horse circling the enemy palace is never more than two moves from participating in mate. The pattern most often finishes attacks the chariot started: the chariot checks, the general steps toward the corner, and the horse already owns it.

For the defender, the moment to act is while the horse approaches: the corner squares are reachable from few points, and controlling those approach points with a soldier or elephant denies the whole geometry cheaply.

The corner horse at work: the horse on the palace corner checks the general, the chariot seals the two remaining flight squares, and black’s own advisor blocks the last one.

Scooping the moon from the sea

The classic endgame mate of chariot and cannon against a defended general (haidi laoyue): the chariot pins the general’s file from the front while the cannon travels to the bottom rank - the "sea bed" - behind the defending chariot, dislodging it from below. The defender’s chariot, attacked from a direction it cannot answer while the pin holds, must abandon the file, and the mate follows. It is the standard win in one of xiangqi’s most common endings, and knowing it converts half a point to a full one dozens of times in a playing career.

The name is the technique: the cannon scoops from underneath. Defenders hold the draw by keeping the general off the open file entirely, or by trading the cannon before the scoop begins - once the cannon reaches the sea bed, the position is lost by force.

The two ghosts pound the gate

Two soldiers walk side by side to the enemy palace’s front corners (erguai paimen, "two ghosts pound the gate") and between them cover every square the general could use - the diagram shows the shape one move before the end. Humble, slow, and completely unstoppable once established: soldiers cannot be driven off, cost nothing to maintain, and each guards the other’s advance square. A third piece delivers the final check, but the soldiers are the mate.

The pattern is the reason endgame theory prices crossed soldiers so high. The defence happens ten moves earlier: soldiers must be stopped at the river, because at the palace gates arithmetic has replaced tactics.

The gate is shut: between them the two soldiers cover every flight square before the final blow.

The sky-and-earth cannons

One cannon rakes the central file - the sky - while the other slides along the enemy’s bottom rank - the earth (tiandipao). The sky cannon freezes the general on the centre; the earth cannon strips the back rank of defenders or mates along it, and the defender’s pieces cannot cover both planes at once. It is the natural evolution of the iron bolt: the same central bind, plus a second front the palace furniture cannot answer.

The formation converts to mate in several ways - a chariot joining either line is the common one - and defending it is about denying the second cannon its rank: keeping a chariot on the back rank, or trading the earth cannon at any reasonable cost.

The white-faced general

The generals may never face each other on an open file - and that rule is a weapon (baiglian jiang, the "white-faced general"): march your own general onto an open central file and the enemy general is forbidden its entire row of that file’s squares, as if your general were a chariot firing down it. In the endgame this royal pressure plus one modest piece - a single soldier, often - covers the whole palace and mates. Endgames that look drawn transform when the attacking general steps out.

The pattern rewires how you value the general: passive all game, it is a fighting piece in the ending, and centralising it early in the endgame is technique, not bravado. The defence, symmetrical: keep your own centre file closed, or occupy it first.

Three pieces, no escape: with red’s general commanding the open centre file, the black general may not step onto it - the chariot’s check ends the game.

The double check

Two pieces give check at once - a horse hops out of a cannon’s line, discovering the cannon’s check while delivering its own (shuangjiang). No interposition answers both lines, no single capture removes both attackers: the general must move, and the attacker chose the position knowing where it must move to. In xiangqi the cannon makes double checks uniquely vicious, since the moving piece that unmasks it was the screen itself.

Double checks end games, but their everyday use is quieter: as forcing moves that reposition two attackers with tempo. Scan for them whenever your cannon, a friendly piece on its line, and the enemy general fall into alignment - the alignment is the warning and the invitation.

Training the patterns

Recognition comes from repetition against resistance. The pattern course on Xiangqi Arena drills each of these twelve shapes as playable lessons - the board only accepts the mating sequence - and the puzzle campaign then hides the same shapes inside full positions, which is where pattern knowledge becomes playing strength. Ten minutes of puzzles a day for a month teaches these shapes more deeply than any amount of reading, this page included.

Put it into practice

Reading about an opening is the start; the moves only become yours once your hands have played them. Every system in this library has a playable lesson on Xiangqi Arena where the board accepts only the book move and a master-level reply answers you - plus rated games, puzzles, and an archive of professional games to see how the masters handled what you just learned.