XIANGQI ARENA
What is xiangqiHow to play

Openings

The Counter-Palace Horse

反宫马

This guide is for you if you play Black and want a solid answer to the central cannon, or if you play Red and keep meeting this defence. It shows how the defence is built, walks you through its most played line and lists the mistakes to avoid. Black builds the counter-palace horse (反宫马, fangongma) in three moves: one horse comes out, a cannon moves to a corner of the palace, and the second horse follows. The archive holds 1,928 games with it.

By the Xiangqi Arena team ·

Moves
1. C2=5 H2+3 2. H2+3 C8=6 3. R1=2 H8+7
Played by
Black
Family
Answer to the central cannon
ECCO code
B30 to B56
Games in the archive
1,928

A cannon between the horses

The defence is Black's three moves in the line 炮二平五 (C2=5) 马2进3 (H2+3), 马二进三 (H2+3) 炮8平6 (C8=6), 车一平二 (R1=2) 马8进7 (H8+7). It is one of the four great defences, the four common openings that the second player usually chooses against the central cannon.

On the board, the horse on c7 guards the soldier on e6 through its leg on d7. The cannon moves from h7 to f7, a corner of Black's palace, and once the second horse reaches g7, the cannon stands between the two horses. From f7 it also guards the other cannon on b7, with the horse on c7 as the screen.

This shape has a price. The cannon on f7 stands on the leg of the horse on g7, so that horse cannot guard e6, and the horse on c7 is the soldier's only guard. Keep that in mind whenever you think about moving it.

The cannon on f7 stands between Black's two horses, and the horse on c7 guards the soldier on e6.

The most played line, move by move

The walkthrough plays the archive's most played twelve-move line of the counter-palace horse, which 190 games follow. Its first eight moves are the line of the first card below, the five-six cannons, in which Red's second cannon comes to d2 beside the central cannon. Step through it slowly, and before you read each note, ask yourself what the piece that moved is guarding or attacking.

Black builds the defence in its first three moves while Red brings out the right horse and chariot. When the chariot reaches h0, it attacks the horse still on h9, and that horse comes out to g7.

Next, Black's chariot moves to b9, Red's left horse comes out to c2 and Black's cannon goes to the edge at a7. Both sides then push a soldier, Red from c3 to c4 and Black from g6 to g5. Each push opens a way forward for a horse, Red's on c2 and Black's on g7.

Step 0 of 12

The starting position. Press Play to watch the line, or step through it one move at a time. The list of moves explains each one.

What does Red play next?

Once Black has played 马8进7 (H8+7), the defence is complete and the choice passes to Red. The board starts from that position and shows the three moves Red played most often there, 兵三进一 (P3+1), 炮八平六 (C8=6) and 兵七进一 (P7+1), each with its share of the 1,123 games that reached it.

Each card below follows one of these moves into a named line from the archive. The first plays 炮八平六, the five-six cannons; the second plays 兵三进一, which leads to the five-seven cannons; and the third plays 兵七进一. The figures on each card show how the line has scored for each side.

With the defence complete, the arrows show Red's three most common moves, each with its share of the games.

Five-six cannons against the counter-palace horse 五六炮对反宫马

279 games in the archive: Red wins 32%, draws 47%, Black wins 20%

  1. 1.C2=5H2+3
  2. 2.H2+3C8=6
  3. 3.R1=2H8+7
  4. 4.C8=6R1=2

Red's 炮八平六 (C8=6) moves the second cannon from b2 to d2 on the sixth file, beside the central cannon on the fifth, and the cannons on these two files give the line its name. Black's 车1平2 (R1=2) then brings the chariot from a9 to b9 to guard the cannon on b7 and the elephant on c9. These are the first eight moves of the walkthrough.

The position after move 4 of this line. Red is at the bottom.

Five-seven cannons and third soldier against the counter-palace horse 五七炮进三兵对反宫马

165 games in the archive: Red wins 39%, draws 38%, Black wins 22%

  1. 1.C2=5H2+3
  2. 2.H2+3C8=6
  3. 3.R1=2H8+7
  4. 4.P3+1P3+1
  5. 5.H8+9E7+5
  6. 6.C8=7R1=2

Red pushes the soldier on g3 with 兵三进一 (P3+1), Black pushes the soldier on c6 with 卒3进1 (P3+1), and Red's horse goes to the edge with 马八进九 (H8+9). Black's 象7进5 (E7+5) brings an elephant to e7, where it guards the soldier on c5, and Red's 炮八平七 (C8=7) puts the second cannon on c2, the seventh file, to attack that soldier. Black's chariot then comes to b9 with 车1平2 (R1=2). The cannons on the fifth and seventh files and Red's push of the third soldier give the line its name.

The position after move 6 of this line. Red is at the bottom.

Central cannon and seventh soldier against the counter-palace horse 中炮进七兵对反宫马

228 games in the archive: Red wins 37%, draws 32%, Black wins 31%

  1. 1.C2=5H2+3
  2. 2.H2+3C8=6
  3. 3.R1=2H8+7
  4. 4.P7+1P7+1

Red pushes the soldier on c3 with 兵七进一 (P7+1), the push that gives the line its name. Black answers on the other wing with 卒7进1 (P7+1), which lets the horse on g7 jump forward to f5 or h5.

The position after move 4 of this line. Red is at the bottom.

What kind of defence is it?

The counter-palace horse is a solid defence that still keeps some chances to counter-attack. It suits you if you like to make your position safe first and look for play later.

Its other name, 夹炮屏风 (jiapao pingfeng), means a screen with a cannon between. You can see why on the board in the first section, where the cannon on f7 stands between the horses on c7 and g7.

The ECCO, a code list of xiangqi openings, gives each of Red's systems against the defence its own codes: the central cannon against the counter-palace horse takes B30 to B36, the five-six cannons against it B40 to B45, and the five-seven cannons against it B50 to B56. The walkthrough belongs to the five-six cannons, since Red's 炮八平六 (C8=6) puts the second cannon on d2, the sixth file.

Common mistakes

A common slip is moving the horse on c7 a second time. Because the cannon on f7 blocks the horse on g7, the horse on c7 is the only guard of the soldier on e6. Once it moves, Red's central cannon is aimed at an unguarded soldier, and your cannon on f7 loses the screen it uses to guard the other cannon. In the walkthrough no Black piece moves twice, and that is a good habit to copy.

Leaving the second horse on h9 too long causes a different problem. After 炮8平6 (C8=6) both cannons have left the h-file, so Red's 车一平二 (R1=2) puts a chariot on h0 that attacks the horse. The chariot on i9 guards it, but only by staying in the corner, so neither piece takes part in the game. The walkthrough answers at once with 马8进7 (H8+7), which moves the horse out of the attack and completes the defence.

Finally, do not take a soldier only because a cannon attacks it. In the walkthrough Black's cannon on a7 aims at the soldier on a3, but Red's horse on c2 and chariot on a0 both guard it, so the capture would give up a cannon for a soldier. The same holds for Red: while the horse on c7 guards e6, the central cannon cannot take that soldier for free. In the opening, use your moves to bring pieces out and leave the soldiers alone.

The counter-palace horse in the archive

In the 1,928 games with the counter-palace horse, Red won 37%, Black 29%, and 34% were drawn. Across all 29,164 games between human players in the archive, Red wins 37% and 36% end in a draw, so you can set the defence against the average game. Games with the counter-palace horse last 44 moves on average.

As Black, Hu Ronghua played the defence in the most games, 120, and Lü Qin has the best score with it, 67.6% from 37 games. Against it as Red, Lü Qin has the best score, 70.9% from 67 games. If you want to see the defence handled well from both sides, start with their games.

This opening in the archive
Games1,928 of the 29,164 human games
ResultsRed wins 37%, draws 34%, Black wins 29%
Average length44 moves
Share of dated games1990-1995: 6% · 1996-2001: 7% · 2002-2008: 6%
Best score as RedLü Qin 70.9% over 67 games
Best score as BlackLü Qin 67.6% over 37 games
Played most often byLü Qin (67 games as Red) · Hu Ronghua (120 games as Black)

By period

The opening in each period, counting only the dated games
PeriodGamesShare of the periodRed winsDrawsBlack wins
1990-19951266%35%33%32%
1996-20012147%42%30%28%
2002-20083756%39%36%25%

The main replies

Replies at the position after 1. C2=5 H2+3 2. H2+3 C8=6 3. R1=2 H8+7, in 1,123 archive games
ReplyGamesRed winsDrawsBlack wins
P3+141339%30%31%
C8=634233%44%23%
P7+127338%31%30%
H8+96333%29%38%

Best scores with this opening

Players with at least 30 games with the opening on that side
PlayerSideGamesScore
Lü QinRed6770.9%
Zhao GuorongRed3470.6%
Li LaiqunRed3164.5%
Lü QinBlack3767.6%
Xu YinchuanBlack4962.2%
Hu RonghuaBlack12061.7%

Three games to replay

  • Tao Hanming (red) vs Hong Zhi (black) · 2007 · 2007 Yitai Cup National Xiangqi Individual Championship Men's · Black won Replay in the archive
  • You Yingqin (red) vs Wu Xia (black) · 2006 · 2006 National Xiangqi Women's Individual Tournament · Black won Replay in the archive
  • Tang Dan (red) vs Wu Xia (black) · 2006 · 2006 National Xiangqi Women's Individual Tournament · Black won Replay in the archive

A game to replay: Tao Hanming against Hong Zhi, 2007

2007 Yitai Cup National Xiangqi Individual Championship Men's · Tao Hanming (red) vs Hong Zhi (black)

Ply 0 of 60

Black won · 30 moves

The starting position.

Key moments

All the moves

  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.
  6. 6.
  7. 7.
  8. 8.
  9. 9.
  10. 10.
  11. 11.
  12. 12.
  13. 13.
  14. 14.
  15. 15.
  16. 16.
  17. 17.
  18. 18.
  19. 19.
  20. 20.
  21. 21.
  22. 22.
  23. 23.
  24. 24.
  25. 25.
  26. 26.
  27. 27.
  28. 28.
  29. 29.
  30. 30.

An old defence revived

The defence was first called 反攻马 (fangongma), the counter-attack horse. It is an old opening that has become popular again in modern times, and the contemporary player 胡荣华 (Hu Ronghua) likes to use it.

胡荣华 won the national title ten times in a row from 1960 to 1979, and four more times, in 1983, 1985, 1997 and 2000. He took a fresh, deep look at openings that had drawn little attention, the counter-palace horse as Black among them, and his book on the defence, 反宫马专集 (Fangongma zhuanji), was published in Singapore in 1983.

If the defence suits you, try it as Black in games against the computer, then compare your games with the walkthrough. It will not win games by itself, but it gives you a solid answer to the central cannon.

Practise on Xiangqi Arena

You can play against other people or against the computer, solve puzzles, work through lessons and study an archive of master games.