Banqi

Banqi (半棋), also called anqi (暗棋) or Chinese dark chess, is a two-player game using the 32 pieces of a xiangqi set on a board of 4 × 8 cells, initially shuffled and face down.[2][3] On a turn, a player either uncovers a piece or moves one already revealed; the first piece uncovered determines which color the first player controls.[4] Most captures follow a hierarchy of ranks, but a soldier can capture a general, while a cannon can capture any rank by jumping over one intervening piece.[5]
The choice between moving and revealing is central to both practical play and computer research: a reveal can introduce a useful piece, expose a target, or change an existing threat.[6][7] Documented settings range from family recreation to temple festivals and organized tournaments.[8][9][5]
Chinese names include 半棋, 暗棋, 翻棋 and 翻翻棋; Taiwanese game instructions also use 半盤象棋 and 小盤象棋.[2][10] The name 盲棋 is context-dependent: a 2025 Hong Kong Society for the Deaf notice uses it for half-board anqi, whereas Jim Png's Lexicon of Xiangqi defines blindfold chess as playing ordinary xiangqi without looking at the board and calling out moves for someone else to execute.[11][12]
Banqi also differs from jieqi (揭棋), called 冚棋 in the same Hong Kong notice: in jieqi, a concealed piece is uncovered after its first move; in banqi, revealing a piece in its existing cell is itself a turn.[11][4] Banqi's horse, elephant and chariot ordinarily move by the same one-cell orthogonal step, rather than by their distinct xiangqi movements.[10]
Equipment and rules
Board, pieces and first turn
An ordinary xiangqi board supplies the 32 rectangular cells on one side of its river; the pieces occupy these cells.[2] Each color has a general, two advisors, two elephants, two chariots, two horses, two cannons and five soldiers.[2] The pieces are shuffled face down, one per cell, before the players take alternating turns.[3] If the first reveal is black, the first player takes Black; the first mover is not necessarily Red.[4]
On each turn a player may uncover any one covered piece, or move one of their own revealed pieces into an orthogonally adjacent empty cell or a cell occupied by an enemy it can capture; the cannon has the special capture described below.[4][5] Passing is not allowed under Hsu's competition rules.[3] Revealing does not move the piece, and later reveals do not change the players' assigned colors.[4]
Movement and capture
The table gives Funtown's standard capture relationships and the piece inventory.[13][2] A capturing piece occupies its victim's cell, and the captured piece is removed from play.[3]
| Piece (per color) | Red / Black | Can capture |
|---|---|---|
| General (1) | 帥 / 將 | Any enemy except a soldier |
| Advisor (2) | 仕 / 士 | Advisor, elephant, chariot, horse, cannon or soldier |
| Elephant (2) | 相 / 象 | Elephant, chariot, horse, cannon or soldier |
| Chariot (2) | 俥 or 車 / 車 | Chariot, horse, cannon or soldier |
| Horse (2) | 傌 or 馬 / 馬 | Horse, cannon or soldier |
| Cannon (2) | 炮 / 包 or 炮 | None: a cannon needs a screen |
| Soldier (5) | 兵 / 卒 | Soldier or general |
The cannon's capture is a separate operation: it jumps along a row or column over exactly one intervening piece, called a screen, onto a revealed enemy of any rank.[5] The screen may belong to either side and may still be face down; all other cells between the cannon and its target must be empty.[3] A cannon can move one cell into an empty space like the other pieces, but cannot capture an immediately adjacent piece.[10] In this form of the game, a covered piece cannot itself be captured.[5]
Winning and draws
A player loses when all their pieces have been captured, or when they have no legal action; Hsu's rules explicitly include the case in which all pieces are revealed and a player's remaining men are blocked.[3] Capturing the general alone does not end the game, as the continuing play in Hsu's illustrative record demonstrates.[14]
Draw and repetition provisions depend on the rules being used: the published limits below differ both in length and in when counting begins.[3][13][5]
| Rules | Limit without progress | Additional condition |
|---|---|---|
| Hsu's 2019 course rules | 60 individual turns without a capture or reveal | Three consecutive occurrences of a repeating position also draw.[3] |
| Funtown standard mode | 50 individual turns, 25 by each player, without a capture or reveal | Separate restrictions address repeated pursuit of one piece.[13] |
| Mingjian's May 2026 tournament | 25 rounds without a capture | Counting may be requested only after all pieces are revealed; a capture resets it.[5] |
Other competitions specify their own adjudication: Da-Yeh University's 2023 student event awarded a drawn game to the player with more remaining pieces and required a replay if the counts were equal.[4]
An illustrative opening
Hsu's 2014 rules include a short sample record in which the first player reveals a red general and the second reveals an adjacent black soldier.[14] Red then uncovers an advisor on the other side of the general; Black's soldier captures the general, and Red's advisor recaptures the soldier.[14] On the next turn, Black reveals a red chariot elsewhere on the board.[14] The sequence illustrates both the soldier's exception to the capture hierarchy and the fact that a player can uncover an opposing piece; the published record is an instructional example with its continuation omitted.[14]
Decisions under uncertainty
When and where to reveal
Neither player initially knows the identities of the covered pieces; the arrangement becomes known through successive revelations.[15] PiliApp's practical guidance recommends revealing away from opposing strong pieces, or in places where a friendly strong piece can protect what appears; it also recommends keeping track of captured pieces to assess what remains concealed.[10] The developer of Anqi Wang (暗棋王) describes more specific choices used by its program: revealing beyond one intervening square from an enemy in the hope of finding a cannon, or revealing near a piece threatened by a cannon in the hope of obtaining support or a recapture.[6] These are attempts to obtain a useful revelation, whose identity remains uncertain.[6]
The same developer warns against casually revealing a piece next to one's own general, where an enemy soldier might appear.[6] Conversely, an early reveal beside one's own soldier can seek an enemy general, with the soldier exposed if the reveal is unfavorable.[6]
Rank, value and the remaining pieces
A piece's legal capture rank and its usefulness in the current position are different questions: a 2010 National Taiwan Normal University thesis identified errors caused by fixed piece values and developed a changing evaluation based on the “food chain” of relationships among piece types.[16] The Anqi Wang developer gives a concrete example: when the opposing army has been reduced to its general, a surviving soldier becomes especially important.[6] PiliApp points out the converse change: after all opposing soldiers have disappeared, a general is vulnerable only to the opposing general and cannons.[10]
Converting an advantage also requires more than a favorable piece count: a 2011 study of computer play described programs drifting into draws from promising positions and introduced route and distance information into threat evaluation.[17]
Rule variations
Funtown's alternatives include chains of captures of exposed pieces (明棋連吃) and a chain-capture mode including concealed pieces (暗棋連吃).[13] Its chariot-charge option (車直衝) permits a straight, unobstructed capture of any enemy rank at nonadjacent distance, but not a long move into an empty cell.[13] The developer of 中国暗棋 specifies another opening convention: both players must reveal pieces during the first three rounds.[2]
Research has also considered modified games: Liang Hua-min's (梁華旻) 2014 thesis investigated Double King Dark Chess (雙將暗棋), a proposed variant intended to reduce the influence of chance and provide greater scope for strategic play.[18]
Everyday play and public life

Families and classrooms
In a 2014 Kinmen Daily reminiscence, Ao Guren (敖古仁) recalled playing xiangqi and face-down anqi with siblings and neighbours around low tables when the weather kept them indoors.[20] Another family account, published by Lai Tini (賴提妮) in 2019, described an inherited set missing a red horse, an improvised replacement made from a sauce-bottle cap, and a small printed board with a reminder of the capture ranks for her children.[8]
A 2015 teaching report describes preschool children at a Taichung school turning a classmate's set into the basis of a classroom chess corner; demonstrations clarified rules, children helped teach one another, and a class competition followed about a month of practice.[21] Fu Li-chen's (傅麗珍) 2009 thesis studied 26 children in one Taipei County kindergarten class over roughly six months, documenting how they entered games, understood rules and interpreted other players' intentions and feelings.[22]
Organized introductions also reach adults: Da-Yeh University's Chinese Language Center planned its October 2023 international-student competition with a rules explanation and practice session before the games, while the Hong Kong Society for the Deaf advertised a 2025 class for hearing-impaired members and their friends and families.[4][11]
Temples, festivals and tournaments
At the 2008 Zuoying Wannian Festival, banqi at Qingshui Temple (清水宮) accompanied regular xiangqi and endgame challenges at other temple venues; successful participants in the drop-in banqi and endgame activities could receive edible chess-piece cakes, qigao (棋糕).[9] In Taichung, the organizers of the 2016 Lüquanquan (綠圈圈) neighbourhood sports festival described banqi as an existing means of recreation and conversation around Caowudao (草悟道), and made it the first contest in their programme.[23]
Mingjian's 2024 tea-culture festival combined banqi with its wider programme at Shoutiangong (受天宮); a contemporary report stated that the 200 competition places had filled.[24] The township's May 2026 national banqi tournament regulations provided public and primary-school divisions, a Swiss-system competition, touch-move rules and penalties for repeated pursuit.[5]
Digital play and computer research
From home software to online play
Banqi software is documented in the 1990s: San Min's catalog dates Anqi Zhuluoji (暗棋侏羅紀), published by 光譜資訊, to 1 December 1994.[25] In diary entries of 29–30 December 1996, Zhuang Deming (莊德明) described his son playing it in both conventional board mode and an animated mode where concealed pieces were dinosaur eggs that hatched when revealed; the child also watched the computer play itself.[26]
Later implementations offer browser-based online play and private rooms, as in 愛台灣歡樂暗棋, while mobile applications such as Anqi Wang include computer opponents and a two-player mode.[27][6]
Searching moves and revelations
A 2008 National Taiwan Normal University thesis described the central search difficulty: considering both ordinary moves and the possible identities of revealed pieces produces too many branches for straightforward deep search.[28] Programs have pursued different responses: Darkness combined alpha–beta search with compact bitboard representations and a table of previously examined positions, while a 2011 National Dong Hwa University thesis investigated Monte Carlo tree search and its handling of reveals.[7][29] A 2015 study combined the latter approach with preliminary scores based on game knowledge, aiming to improve decisions early in the search, when sampling estimates were still weak.[15]
Banqi entered the Computer Olympiad in 2010, and the DarkCraft thesis reports its program's victory at the 2011 event in Tilburg.[7][30] In 2013, Yahari won the Taiwanese Association for Artificial Intelligence's banqi competition in a nine-team field; Chung Yuan Christian University's report credited its combination of search and an endgame database.[31] Shared software also supported testing: the 2020 DarkChess manual describes a platform intended to let developers compare programs and successive versions.[32]
Endgames, learning and physical systems
The Observer study explains a difficulty of late play: with more open space, surviving pieces have more movement choices, which can reduce the depth a program can search.[33] Its 2014 project built a database for positions with at most five pieces, including one covered piece, while a 2015 Chung Yuan Christian University thesis investigated compression of a six-piece database with all pieces revealed.[33][34] A 2022 National Taichung University of Education thesis combined game-tree search with reinforcement learning and investigated neural networks as a more compact approximation of endgame-database information.[35] A separate 2023 study of Gumbel Stochastic MuZero used a reduced 2 × 4 banqi board to examine more efficient learning from training data.[36]
Physical interaction has also been investigated: a 2020 Taiwanese student science-fair project combined camera-based piece recognition, cloud services and a robot arm to reveal, move and capture pieces on a real board.[37] At the 2024 Taiwan Science Festival, National Taichung University of Education invited visitors to play AI banqi while staff explained search and neural-network methods.[38]
References
- ↑ Daniel Case, Banqi players at Temple of Heaven Park, photograph, 31 March 2014; original file and attribution record, Creative Commons Attribution-ShareAlike 3.0.
- ↑ a b c d e f Zeng Junnan game studio, “中国暗棋”, description updated 2 February 2024, “开发者的话” and “游戏说明”.
- ↑ a b c d e f g h 徐讚昇 (Tsan-sheng Hsu), Rules for Chinese Dark Chess, 6 September 2019, p.1, Chinese course rules hosted by Academia Sinica.
- ↑ a b c d e f g 大葉大學華語教學中心, 2023年象棋暗棋比賽簡章, event 5 October 2023, pp.1–2, schedule and Chinese rules.
- ↑ a b c d e f g h 名間鄉公所, “115年度南投縣名間鄉全國暗棋錦標賽”, regulations for 16 May 2026, especially competition format and §19.
- ↑ a b c d e f g Chuanming Chang / CussDev, “暗棋王”, Chinese developer description, especially the discussion of revealing pieces and changing piece values; accessed 25 November 2026.
- ↑ a b c 詹凱翔, 電腦暗棋程式Darkness的設計與實作, National Taiwan Normal University master's thesis, 2013, Chinese abstract.
- ↑ a b 賴提妮, “親子瘋象棋”, 金門日報, 15 September 2019.
- ↑ a b 郭偉如, “左營萬年季「傳棋藝」代代相傳”, 自立晚報, 29 November 2008.
- ↑ a b c d e PiliApp, “暗棋”, Chinese rules, capture explanation and strategy paragraph, accessed 25 November 2026.
- ↑ a b c 香港聾人福利促進會, July 2025 newsletter, p.29, “冚棋及盲棋體驗日”, notice for 22 July 2025.
- ↑ Jim Png Hau Cheng, Lexicon of Xiangqi (Chinese Chess) Terms in English, Rui Xing, 2017, ISBN 9789574347070, p.34, “Blindfold Chess”. Bibliographic record.
- ↑ a b c d e 戲谷, “暗棋館:遊戲流程”, capture matrix, standard and optional modes, and “特殊功能”; accessed 25 November 2026.
- ↑ a b c d e 徐讚昇 (Tsan-sheng Hsu), Rules for Chinese Dark Chess, 30 October 2014, p.1 (draw rules) and p.2 (notation and illustrative game record).
- ↑ a b 黃朝威, 使用領域知識強化電腦暗棋對局程式, National Dong Hwa University master's thesis, 2015, Chinese abstract.
- ↑ 謝政孝, 暗棋中棋種間食物鏈關係之探討與實作, National Taiwan Normal University master's thesis, 2010, Chinese abstract.
- ↑ 勞永祥, 電腦暗棋之人工智慧改良, National Taiwan Normal University master's thesis, 2011, Chinese abstract.
- ↑ 梁華旻, 雙將暗棋特性之研究, National Dong Hwa University master's thesis, 2014, Chinese abstract.
- ↑ Outlookxp, 十三甲伯公廟台灣暗棋棋盤, photograph, 29 April 2017; original file and attribution record, Creative Commons Attribution-ShareAlike 4.0.
- ↑ 敖古仁, “古早時的桌遊”, 金門日報, 1 June 2014.
- ↑ 張瑋玲、莊雅如、劉依婷, “「玩具」主題課程分享”, 臺中市教育電子報, 10 June 2015, §三(一), 車籠埔國小.
- ↑ 傅麗珍, 幼兒象棋(暗棋)遊戲內涵及其心智理解之研究, National Taiwan Normal University master's thesis, 2009, Chinese abstract and research design.
- ↑ 勤美集團, 2016 Corporate Social Responsibility Report, Chinese edition, pp.140–142, “2016 綠圈圈-大運動會”, especially the banqi explanation on p.142.
- ↑ 扶小萍, “茶飲文化節 名間鄉長陳翰立挑戰象棋國手葛振衣添趣味”, 台灣好新聞, 28 September 2024, syndicated by Yam.
- ↑ 三民書局, “暗棋侏羅紀PA006”, bibliographic/product record, publisher 光譜資訊 and release date 1 December 1994.
- ↑ 莊德明, 一加一大於二, diary entries 29 December 1996 and 30 December 1996, hosted by Academia Sinica.
- ↑ 向量科技, “愛台灣歡樂暗棋”, Chinese product description, browser play and room features; accessed 25 November 2026.
- ↑ 謝曜安, 電腦暗棋之設計及實作, National Taiwan Normal University master's thesis, 2008, Chinese abstract.
- ↑ 龔長偉, 蒙地卡羅樹狀搜尋在暗棋上的應用, National Dong Hwa University master's thesis, 2011, Chinese abstract.
- ↑ 施宣丞, 暗棋程式DarkCraft的設計與實作, National Taiwan Normal University master's thesis, Chinese abstract, including its account of the 2011 Computer Olympiad.
- ↑ 中原大學, “賀!應數系陳志昌老師團隊 獲電腦對局競賽冠軍”, 19 December 2013.
- ↑ 陳志昌、許嘉銘、鄧鈞洲、鍾毓湘, DarkChess 使用說明, 16 May 2020, p.1 and §8.
- ↑ a b 徐大開, 電腦暗棋程式Observer的設計與實作, National Taiwan Normal University master's thesis, 2014, Chinese abstract.
- ↑ 范綱宇, 電腦暗棋殘局資料庫壓縮之研究, Chung Yuan Christian University master's thesis, 2015, Chinese abstract.
- ↑ 陳秉均, 基於遊戲樹搜尋與神經網路設計電腦暗棋程式之研究, National Taichung University of Education master's thesis, 2022, original Chinese abstract.
- ↑ 宋得榮, 應用狀態一致性於 Gumbel Stochastic MuZero 在2x4暗棋, National Yang Ming Chiao Tung University master's thesis, 2023, Chinese abstract.
- ↑ 林昕鋭、洪麒翔, 以智慧物聯網建構暗棋對弈機器人系統, 60th National Primary and High School Science Fair, 2020, work 052310, abstract and pp.1–7.
- ↑ 國立臺中教育大學, “2024第五屆臺灣科學節—科學市集”, activity record for 9 November 2024, “人生如棋,用AI作出最佳決策”.