# Xiangqi

**Xiangqi** (象棋), also known as Chinese chess, is a traditional two-player strategy board game in which red and black armies of 16 pieces each maneuver on a 9-by-10 grid of intersections, with the object of checkmating the opposing general.<sup>[1](https://www.xiangqi.com/help/board-and-set-up)</sup><sup> • </sup><sup>[2](https://boardgames.zone/xiangqi/rules)</sup> It belongs to the same family of games as international chess and shogi, and most historians trace all of them to the Indian game chaturanga.<sup>[3](https://www.xqarena.com/xiangqi-vs-chess)</sup>

| Key fact | Detail |
|---|---|
| Board | 9 vertical files and 10 horizontal ranks; pieces sit on the 90 intersections, with a river across the middle and a 3-by-3 palace on each back rank<sup>[1](https://www.xiangqi.com/help/board-and-set-up)</sup><sup> • </sup><sup>[4](https://playchinesechess.com/rules)</sup> |
| Armies | Each side: 1 general, 2 advisors, 2 elephants, 2 horses, 2 chariots, 2 cannons, 5 soldiers; Red moves first<sup>[2](https://boardgames.zone/xiangqi/rules)</sup> |
| Signature piece | The cannon moves like a chariot but captures by jumping over exactly one piece, the screen (炮架)<sup>[5](https://xiangqimaster.com/rules/how-the-cannon-moves)</sup> |
| Ending rules | Stalemate is a loss for the stalemated player, not a draw as in chess; a player with no legal move loses<sup>[4](https://playchinesechess.com/rules)</sup><sup> • </sup><sup>[6](https://xiangqi.plyyard.com/rules/)</sup> |
| Governing rules | World Xiangqi Rules (WXF, 2018 English edition); AXF repetition rules first drafted in Macau in 1982<sup>[7](https://www.wxf-xiangqi.org/images/wxf-rules/2018_World_XiangQi_Rules_English2018.pdf)</sup><sup> • </sup><sup>[8](https://www.asianxiangqi.org/English/AXFrulesEng.htm)</sup> |
| Game-tree complexity | About 10<sup>150</sup> by standard estimates, against about 10<sup>226</sup> for shogi and a level comparable to chess<sup>[9](https://shogiboardgame.com/xiangqi-vs-shogi/)</sup><sup> • </sup><sup>[10](https://arxiv.org/abs/2308.04719)</sup> |
| World championship | The 19th World Xiangqi Championship was held in Shanghai in 2025, with nearly 200 participants from 26 countries and regions<sup>[11](https://english.shanghai.gov.cn/en-SportsEvents/20250701/a57dabc48a754fd296e891cda7905028.html)</sup> |

## Board and pieces

Its playing surface consists of nine vertical lines, known as files, plus ten horizontal ones, known as ranks, and pieces are positioned on the ninety intersections of these lines rather than within squares as they are in chess.<sup>[1](https://www.xiangqi.com/help/board-and-set-up)</sup><sup> • </sup><sup>[6](https://xiangqi.plyyard.com/rules/)</sup> Two markings have no counterpart in chess. A river runs between rank 5 and rank 6 across the middle of the board, and each back rank holds a palace, a 3-by-3 block of points marked with diagonals corner to corner.<sup>[4](https://playchinesechess.com/rules)</sup>

Each player starts with 16 pieces.<sup>[2](https://boardgames.zone/xiangqi/rules)</sup> The general (帥 for red, 將 for black) moves one point along a line and must remain inside its own palace. The advisor (仕 or 士) moves one point diagonally and is likewise confined to the palace. The elephant (相 or 象) moves exactly two points diagonally, can never cross the river, and is blocked by a piece on the midpoint. The horse moves one point orthogonally and then one point diagonally, like a chess knight, but its move can be blocked by an adjacent piece. The chariot moves any distance along a rank or file, exactly as the chess rook does.<sup>[4](https://playchinesechess.com/rules)</sup><sup> • </sup><sup>[2](https://boardgames.zone/xiangqi/rules)</sup>

**The cannon is the piece with no chess equivalent.** It moves like a chariot over empty points, but to capture it must jump exactly one piece of either color standing between it and its target; that piece is the screen. With no screen, or with two or more pieces in the way, the capture is illegal.<sup>[5](https://xiangqimaster.com/rules/how-the-cannon-moves)</sup> The soldier moves one point at a time; before crossing the river it can only move forward, and after crossing it gains a sideways move.<sup>[1](https://www.xiangqi.com/help/board-and-set-up)</sup><sup> • </sup><sup>[4](https://playchinesechess.com/rules)</sup>

## Rules that differ from chess

Three rules shape play in ways chess players do not expect. First, stalemate is a loss: a player who has no legal move loses, whether or not the general is in check, so the chess convention of a stalemate draw does not exist.<sup>[4](https://playchinesechess.com/rules)</sup><sup> • </sup><sup>[6](https://xiangqi.plyyard.com/rules/)</sup> Second, the flying general rule prohibits the two generals from facing each other on the same file with no intervening piece; a move that creates this position is illegal, which makes the general an active defensive piece along its own file.<sup>[12](https://www.wxf-xiangqi.org/images/free_download_books/xiangqi_introduction_chessplayers_20150323.pdf)</sup> Third, repetition is regulated rather than simply drawn: the Asian Xiangqi Federation developed a set of rules specifically to prevent endless repetition of moves in competition, and under World Xiangqi Federation rules a side that forces repetition by perpetual check or perpetual chase loses rather than drawing.<sup>[8](https://www.asianxiangqi.org/English/AXFrulesEng.htm)</sup><sup> • </sup><sup>[5](https://xiangqimaster.com/rules/how-the-cannon-moves)</sup>

A game ends by checkmate, by a stalemate loss, by a perpetual check or chase ruling, or by a draw.<sup>[4](https://playchinesechess.com/rules)</sup>

## Origin and history

Xiangqi, international chess, shogi, janggi, and makruk are relatives: two armies, a piece whose loss ends the game, and a broadly similar set of piece powers.<sup>[13](https://learnxiangqi.com/history)</sup> Most historians trace the family to chaturanga, an 8-by-8 board game played in northern India by at least the 6th century CE; as the game spread along trade routes, the line moving east into China became xiangqi, incorporating Chinese military concepts such as the river, the palace, and the cannon.<sup>[3](https://www.xqarena.com/xiangqi-vs-chess)</sup><sup> • </sup><sup>[14](https://ancientgames.org/chess-shogi-xiangqi-three-paths-from-chaturanga/)</sup> A competing account argues for Chinese origin or independent development, pointing to early Chinese textual references and to features xiangqi has that the western branch does not.<sup>[13](https://learnxiangqi.com/history)</sup> A 2020 comparative study by Li Ma of Xi'an International Studies University argues that the differences in rules between xiangqi and chess reflect differences in the social structures, thinking patterns, and geography of China and the West.<sup>[15](https://www.researchgate.net/publication/339743945_Xiangqi_vs_Chess-The_Cultural_Differences_Reflected_in_Chinese_and_Western_Games)</sup>

## Organization and competition

The World Xiangqi Federation (WXF) was established on 6 April 1993 in Beijing and has promoted the game by organizing international competitions. Growth in tournaments and cultural interaction led the federation, on the initiative of its chairman Timothy Fok at a 2017 meeting in the Philippines, with the support of the Asian Xiangqi Federation, to produce the World Xiangqi Rules as a worldwide competition standard.<sup>[16](https://www.wxf-xiangqi.org/index.php?Itemid=291&catid=133&id=269%3Aworld-xiangqi-rules-introductionen&lang=en&layout=default&option=com_content&view=article)</sup> The AXF competition rules, first approved in Macau in 1982 and revised in June 1989 and March 2003, have been adopted in international competitions including the World Championships.<sup>[8](https://www.asianxiangqi.org/English/AXFrulesEng.htm)</sup>

The 19th World Xiangqi Championship was held in Shanghai in September 2025 alongside the 5th Shanghai Xiangqi Master Open, the first time in 26 years that Shanghai hosted the event. It featured eight categories, including men's and women's individual and team events and U16 and U12 youth individual categories, with nearly 200 participants from 26 countries and regions.<sup>[11](https://english.shanghai.gov.cn/en-SportsEvents/20250701/a57dabc48a754fd296e891cda7905028.html)</sup>

## Computer xiangqi

Xiangqi is one of the largest chess variants in terms of its player base, yet engine development has lagged behind western chess.<sup>[17](https://ml-research.github.io/papers/langer2021xiangqi.pdf)</sup> A 1996 survey of game-programming research placed xiangqi among the four principal research domains, chess, xiangqi, shogi, and Go, and noted that its game-tree complexity is similar to chess, suggesting the same AI techniques would transfer.<sup>[18](https://journals.sagepub.com/doi/10.3233/ICG-1996-19208)</sup> Later work has gone beyond that prediction. The JiangJun algorithm, a combination of Monte-Carlo Tree Search and Policy Space Response Oracles designed to approximate a [Nash equilibrium](https://www.edgepedia.org/nash-equilibrium), was trained on more than 10,000 records of human play and achieved a Master level with a 99.41% win rate against human players on a WeChat mini program.<sup>[10](https://arxiv.org/abs/2308.04719)</sup> A 2024 system trained by supervised and reinforcement learning without any search algorithm reached a level comparable to the top 0.1% of human players, with a query rate exceeding MCTS-based systems by over a thousandfold.<sup>[19](https://arxiv.org/abs/2410.04865)</sup> On the theoretical side, generalized xiangqi is known or believed to be EXPTIME-complete, and constant-time property-testing algorithms have been constructed for it.<sup>[20](https://www.jstage.jst.go.jp/article/transfun/E102.A/9/E102.A_1126/_article)</sup>

## References

1. [Chinese Chess Board Set Up Guide, Xiangqi.com](https://www.xiangqi.com/help/board-and-set-up)
2. [Xiangqi: Complete Rules & Strategy Guide, boardgames.zone](https://boardgames.zone/xiangqi/rules)
3. [Xiangqi vs Chess: The Rules Compared Piece by Piece, Xiangqi Arena](https://www.xqarena.com/xiangqi-vs-chess)
4. [Xiangqi vs Chess: Rules and Board Compared, PlayChineseChess](https://playchinesechess.com/rules)
5. [How the Cannon Moves in Xiangqi, Xiangqi Master](https://xiangqimaster.com/rules/how-the-cannon-moves)
6. [Xiangqi Rules, Ply Yard](https://xiangqi.plyyard.com/rules/)
7. [World Xiangqi Rules (2018 English edition), World Xiangqi Federation](https://www.wxf-xiangqi.org/images/wxf-rules/2018_World_XiangQi_Rules_English2018.pdf)
8. [About AXF Rules, Asian Xiangqi Federation](https://www.asianxiangqi.org/English/AXFrulesEng.htm)
9. [Xiangqi vs Shogi: Chinese Chess and Japanese Chess Compared](https://shogiboardgame.com/xiangqi-vs-shogi/)
10. [JiangJun: Mastering Xiangqi by Tackling Non-Transitivity in Two-Player Zero-Sum Games, arXiv:2308.04719](https://arxiv.org/abs/2308.04719)
11. [Shanghai to host World Xiangqi Championship, english.shanghai.gov.cn](https://english.shanghai.gov.cn/en-SportsEvents/20250701/a57dabc48a754fd296e891cda7905028.html)
12. [Introduction to Chinese Chess (XiangQi) for chess players, World Xiangqi Federation](https://www.wxf-xiangqi.org/images/free_download_books/xiangqi_introduction_chessplayers_20150323.pdf)
13. [Where Xiangqi Came From, learnxiangqi.com](https://learnxiangqi.com/history)
14. [Chess vs Shogi vs Xiangqi: Three Paths from Chaturanga, ancientgames.org](https://ancientgames.org/chess-shogi-xiangqi-three-paths-from-chaturanga/)
15. [Li Ma (2020). Xiangqi vs Chess: The Cultural Differences Reflected in Chinese and Western Games, Open Journal of Social Sciences](https://www.researchgate.net/publication/339743945_Xiangqi_vs_Chess-The_Cultural_Differences_Reflected_in_Chinese_and_Western_Games)
16. [World Xiangqi Rules introduction, World Xiangqi Federation](https://www.wxf-xiangqi.org/index.php?Itemid=291&catid=133&id=269%3Aworld-xiangqi-rules-introductionen&lang=en&layout=default&option=com_content&view=article)
17. [Evaluation of Monte-Carlo Tree Search for Xiangqi, Langer et al. 2021](https://ml-research.github.io/papers/langer2021xiangqi.pdf)
18. [Matsubara, Iida, Grimbergen (1996). Natural Developments in Game Research: From CHESS to SHOGI to Go, ICGA Journal](https://journals.sagepub.com/doi/10.3233/ICG-1996-19208)
19. [Mastering Chinese Chess AI (Xiangqi) Without Search, arXiv:2410.04865](https://arxiv.org/abs/2410.04865)
20. [Generalized Shogi, Chess, and Xiangqi are Constant-Time Testable, IEICE Transactions 2019](https://www.jstage.jst.go.jp/article/transfun/E102.A/9/E102.A_1126/_article)

---
*Topic: Encyclopedia › Sports, games, and recreation › Board, card, and puzzle games › Board games › Traditional board, tile, and dice games › Xiangqi (Chinese chess)*

*Initially written Sep 17, 2026 · Reviewed: Oct 21, 2026 · Edited: Oct 15, 2026; Oct 21, 2026 · Last review: Oct 21, 2026*

*Copyright 2026 EdgeChat AI, a subsidiary of Biostate AI.*

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license
