# 六角棋（Hex）

**六角棋**是一款双人连接棋盘游戏，玩家轮流在菱形排列的六边形格子棋盘上放置棋子，各自试图用己方棋子连成一条不间断的链，连接指定给自己的两条对边。该游戏由丹麦科学家、作家[皮特·海因](https://www.edgepedia.org/zh/piet-hein)（Piet Hein）于1942年发明，1948年数学家约翰·纳什（John Nash）在普林斯顿独立重新发明。它以两个数学性质著称：游戏永远不会以平局结束；在任意正方形棋盘上，先手都有必胜策略，尽管对于大于9×9的棋盘，人们并不知道具体的必胜策略。<sup>[1](https://library.ethz.ch/en/collections-and-archives/platforms/virtual-exhibitions/Its-all-math-and-games/hex.html)</sup><sup> • </sup><sup>[2](https://mathworld.wolfram.com/GameofHex.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 发明者 | 皮特·海因（丹麦，1942年，原名“Polygon”）；约翰·纳什1948年在普林斯顿独立重新发明<sup>[1](https://library.ethz.ch/en/collections-and-archives/platforms/virtual-exhibitions/Its-all-math-and-games/hex.html)</sup> |
| 名称 | “Hex”之名源于1952年帕克兄弟（Parker Brothers）的商业发行版<sup>[2](https://mathworld.wolfram.com/GameofHex.html)</sup> |
| 标准棋盘 | 11×11个六边形，共121格；双方各占两条对边，四个角格双方共有<sup>[1](https://library.ethz.ch/en/collections-and-archives/platforms/virtual-exhibitions/Its-all-math-and-games/hex.html)</sup><sup> • </sup><sup>[2](https://mathworld.wolfram.com/GameofHex.html)</sup> |
| 无平局 | 完全填满的棋盘上，必定恰有一方形成获胜链，即“六角棋定理”<sup>[3](https://www.hexwiki.net/index.php/Hex_theory)</sup> |
| 先手必胜 | 纳什于1949年通过策略窃取证明，在任意n×n棋盘上先手必胜；该证明不给出实际策略<sup>[2](https://mathworld.wolfram.com/GameofHex.html)</sup><sup> • </sup><sup>[4](https://www.cut-the-knot.org/Curriculum/Games/HexTheory.shtml)</sup> |
| 已解棋盘 | 9×9及以下所有初始局面的必胜策略均已知；10×10仅某些开局已知<sup>[1](https://library.ethz.ch/en/collections-and-archives/platforms/virtual-exhibitions/Its-all-math-and-games/hex.html)</sup> |
| 复杂度 | 判定给定局面的胜负是PSPACE完全的（Stefan Reisch，1979年）<sup>[3](https://www.hexwiki.net/index.php/Hex_theory)</sup> |
| 平衡规则 | 采用交换选项时，后手有必胜策略<sup>[3](https://www.hexwiki.net/index.php/Hex_theory)</sup> |

## 规则

六角棋在一个由六边形格子组成的菱形棋盘上进行，通常每边11格，共121格。棋盘的两条对边标记为一方所有，另外两条对边归对手；四个角格双方共有。双方各持黑白棋子，轮流在任意空格上放置一枚棋子，黑方先行，棋子永不移动也不会被吃。率先用己方棋子连成一条连接自己两侧的链的一方获胜。<sup>[5](https://www.mseymour.ca/hex_book/hexstrat0.html)</sup><sup> • </sup><sup>[2](https://mathworld.wolfram.com/GameofHex.html)</sup>

规则简单，但据一本策略指南称，其战略深度可与同尺寸棋盘上的围棋相媲美。<sup>[6](https://trmph.com/hexwiki/Basic_strategy_guide.html)</sup>

## 历史

皮特·海因于1942年在与[尼尔斯·玻尔](https://www.edgepedia.org/zh/niels-bohr)（Niels Bohr）理论物理研究所合作期间发明了该游戏，在一次关于好游戏应具备何种条件的讲座中，将其介绍给哥本哈根一个名为“括号”（The Parenthesis）的数学学生社团，并于1942年12月26日在丹麦报纸《政治报》（Politiken）上以“Polygon”之名发表，这是根据他为该报撰写定期专栏的协议。<sup>[2](https://mathworld.wolfram.com/GameofHex.html)</sup><sup> • </sup><sup>[7](https://www.hexwiki.net/index.php/History_of_Hex)</sup><sup> • </sup><sup>[8](https://www.cijm.org/pdf/Jeux_hex/These_sur_Hex_de_Thomas_Maarup_University_of_Southern_Denmark_By_coutesy_of_Loic_Cellier.pdf)</sup>

约翰·纳什于1948年在普林斯顿读研究生时重新发明了该游戏（HexWiki将重新发现的时间定为1948年或1949年），他将其描述为将拓扑学与博弈论联系起来的问题。他的棋友称之为“纳什”，据[马丁·加德纳](https://www.edgepedia.org/zh/martin-gardner)（Martin Gardner）说，一些学生也称其为“约翰”，因为它经常在浴室地面的六边形瓷砖上玩；HexWiki指出，杰克·范·赖斯韦克（Jack van Rijswijck）认为这个故事是杜撰的。<sup>[1](https://library.ethz.ch/en/collections-and-archives/platforms/virtual-exhibitions/Its-all-math-and-games/hex.html)</sup><sup> • </sup><sup>[7](https://www.hexwiki.net/index.php/History_of_Hex)</sup><sup> • </sup><sup>[9](https://jdh.hamkins.org/wp-content/uploads/Transfinite-game-values-in-infinite-games.pdf)</sup>

**商业化与普及。** [帕克兄弟](https://www.edgepedia.org/zh/parker-brothers)于1952年以Hex之名发行了商业版本，这个名字沿用至今。该游戏的突破出现在1957年，当时马丁·加德纳在其《科学美国人》（Scientific American）专栏中介绍了它，将其引介给大量美国及国际读者。<sup>[1](https://library.ethz.ch/en/collections-and-archives/platforms/virtual-exhibitions/Its-all-math-and-games/hex.html)</sup><sup> • </sup><sup>[2](https://mathworld.wolfram.com/GameofHex.html)</sup><sup> • </sup><sup>[7](https://www.hexwiki.net/index.php/History_of_Hex)</sup>

**独立发明之争。** 纳什是否真正独立重新发明了六角棋，尚无定论。包括尼尔斯·玻尔之子、皮特·海因的朋友奥格·玻尔（Aage Bohr）在内的丹麦学生，1948年初在普林斯顿就在玩六角棋，玻尔后来回忆曾向美国的人展示过这个游戏，他认为其中包括纳什。纳什向加德纳承认，有人——很可能是玻尔——曾向他展示过该游戏的一个版本，但他坚持自己在看到海因先前的游戏之前就已发明并分析了它。加德纳最初的专栏只归功于海因，并称是玻尔在普林斯顿介绍了该游戏；在纳什要求更正后，加德纳刊登了纳什的说法，同时私下告诉海因，他认为最可能的解释是来自丹麦方面的“一闪而过的提示”被遗忘了。<sup>[7](https://www.hexwiki.net/index.php/History_of_Hex)</sup>

## 无平局性质

六角棋永远不会以平局结束：当棋盘被棋子完全填满时，有且仅有一方将其两侧连接起来。这有时被称为六角棋定理。证明思路很直接：在填满的棋盘上，取所有与红方上边相连的红色格子的集合。如果该集合延伸到红方下边，则红方获胜；否则，该集合的边界就构成蓝方的一条获胜路径。<sup>[3](https://www.hexwiki.net/index.php/Hex_theory)</sup><sup> • </sup><sup>[10](https://www.hexwiki.net/index.php/Draw)</sup>

存在多种简短证明，包括D. Berman的归纳证明（《数学杂志》，1976年），以及一些非正式的论证，比如从纸板棋盘上剪掉一方的格子，然后将剩下的两条边拉开。[大卫·盖尔](https://www.edgepedia.org/zh/david-gale)（David Gale）于1979年证明，无平局性质等价于[布劳威尔不动点定理](https://www.edgepedia.org/zh/brouwer-fixed-point-theorem)，而且这个游戏是围绕这一性质设计的，而非事后才注意到该性质。<sup>[4](https://www.cut-the-knot.org/Curriculum/Games/HexTheory.shtml)</sup><sup> • </sup><sup>[11](https://absurdtools.com/hex-board-game/)</sup>

该性质依赖于六边形拓扑。在采用四邻接的正方形棋盘上，平局是可能的；采用八邻接时，双方的链可以交叉而不互相阻挡；六邻接的正方形变体则等价于标准的六边形棋盘。<sup>[4](https://www.cut-the-knot.org/Curriculum/Games/HexTheory.shtml)</sup>

## 先手必胜与策略窃取

1949年，纳什通过现在被称为策略窃取的反证法论证证明，在任意大小的n×n棋盘上先手都有必胜策略。假设后手有必胜策略。先手随意走第一步，然后按照后手的策略行事，同时将那枚多余的棋子视为无关紧要；如果策略要求走到已被占据的格子，该玩家就走到其他任意位置，因为在六角棋中，己方多一枚棋子永远不会是劣势。这与假设矛盾，因此后手不可能有必胜策略；又因为游戏没有平局，所以先手必有必胜策略。<sup>[2](https://mathworld.wolfram.com/GameofHex.html)</sup><sup> • </sup><sup>[4](https://www.cut-the-knot.org/Curriculum/Games/HexTheory.shtml)</sup><sup> • </sup><sup>[12](https://www.combinatorial-game-theory.com/essays/the-theorem-that-names-no-move/)</sup>

该证明纯粹是存在性证明，并未指出正确的第一步或策略；对于大于9×9的棋盘，尚未发现任何必胜策略。<sup>[13](https://www.maths.tcd.ie/~btyrrel/handbook.pdf)</sup><sup> • </sup><sup>[4](https://www.cut-the-knot.org/Curriculum/Games/HexTheory.shtml)</sup>这种知道先手必胜却不知道如何取胜的差距，正是交换规则（交换选项）的常见动机：第一步之后，后手可以选择交换阵营，将那一步据为己有。由于每个开局着法非胜即负，后手总能选择较好的一方，因此在有交换选项的情况下，后手有必胜策略。<sup>[3](https://www.hexwiki.net/index.php/Hex_theory)</sup>

在非正方形棋盘上，优势会转移：在n×(n+1)的棋盘上，需要覆盖距离较短的一方无论先后手都有必胜策略，使用的是配对策略，即在一个三角形中的每一步敌方着法，都在另一个三角形的配对格子中回应。<sup>[3](https://www.hexwiki.net/index.php/Hex_theory)</sup>

## 复杂度与计算机对弈

判定n×n棋盘上给定六角棋局面的胜负是PSPACE完全的；属于PSPACE可由用多项式内存探索博弈树得出，PSPACE困难性最早由Stefan Reisch于1979年证明。相关问题，如检测虚拟连接和被支配格，也是PSPACE完全的。<sup>[3](https://www.hexwiki.net/index.php/Hex_theory)</sup>尽管如此，7×7棋盘上每个开局着法的胜负状态都已确定，8×8和9×9棋盘上先手走中心时的必胜策略也已知。<sup>[2](https://mathworld.wolfram.com/GameofHex.html)</sup><sup> • </sup><sup>[1](https://library.ethz.ch/en/collections-and-archives/platforms/virtual-exhibitions/Its-all-math-and-games/hex.html)</sup>

计算机六角棋的研究起步很早：1953年，克劳德·香农（Claude E. Shannon）与E. F. Moore合作制造了一台下该游戏的机器，它将每个六角棋局面映射为二维电荷分布，然后通过检查相应势场的特征来选择着法。现代对弈使用搜索和[蒙特卡洛树搜索](https://www.edgepedia.org/zh/monte-carlo-tree-search)方法，标准棋盘上约100种合法着法的平均分支因子（国际象棋约为35）塑造了所采用的人工智能方法。<sup>[2](https://mathworld.wolfram.com/GameofHex.html)</sup><sup> • </sup><sup>[14](https://citeseerx.ist.psu.edu/document?doi=2138108c5414d5ec433c057a6421ccbc32c3c13c&repid=rep1&type=pdf)</sup>

## 变体与相关游戏

六角棋属于连接游戏家族。Y游戏在三角形棋盘上进行，双方共享同一连接目标，其无平局性质可由六角棋定理证明；Havannah和Twixt等变体在其他形状上扩展了同样的连接理念。<sup>[15](https://arxiv.org/abs/2102.02621)</sup><sup> • </sup><sup>[16](https://arcadiagames.io/guides/hex)</sup>一种反规则变体——率先连成链的一方输——在棋盘每边的格子数为偶数时先手胜，否则后手胜。<sup>[2](https://mathworld.wolfram.com/GameofHex.html)</sup>无限六角棋是向无限六边形格点的自然延伸，与有限游戏相反，它是平局。<sup>[17](https://arxiv.org/abs/2201.06475)</sup>

## References

1. [Hex, ETH Library virtual exhibition](https://library.ethz.ch/en/collections-and-archives/platforms/virtual-exhibitions/Its-all-math-and-games/hex.html)
2. [Game of Hex, Wolfram MathWorld](https://mathworld.wolfram.com/GameofHex.html)
3. [Hex theory, HexWiki](https://www.hexwiki.net/index.php/Hex_theory)
4. [Hex Can't End in a Draw, Cut-the-Knot](https://www.cut-the-knot.org/Curriculum/Games/HexTheory.shtml)
5. [Hex: A Strategy Guide, Chapter 1, Matthew Seymour](https://www.mseymour.ca/hex_book/hexstrat0.html)
6. [Basic strategy guide, HexWiki](https://trmph.com/hexwiki/Basic_strategy_guide.html)
7. [History of Hex, HexWiki](https://www.hexwiki.net/index.php/History_of_Hex)
8. [Thomas Maarup, Hex, master's thesis, University of Southern Denmark](https://www.cijm.org/pdf/Jeux_hex/These_sur_Hex_de_Thomas_Maarup_University_of_Southern_Denmark_By_coutesy_of_Loic_Cellier.pdf)
9. [Transfinite game values in infinite games, J. D. Hamkins](https://jdh.hamkins.org/wp-content/uploads/Transfinite-game-values-in-infinite-games.pdf)
10. [Draw, HexWiki](https://www.hexwiki.net/index.php/Draw)
11. [Hex board game tool, Absurd Tools](https://absurdtools.com/hex-board-game/)
12. [The theorem that names a winner and no move, Combinatorial Game Theory](https://www.combinatorial-game-theory.com/essays/the-theorem-that-names-no-move/)
13. [Game Theory Handbook, Brian Tyrrell, CTYI](https://www.maths.tcd.ie/~btyrrel/handbook.pdf)
14. [The Game of Hex: The Hierarchical Approach (Hexy), V. V. Anshelevich](https://citeseerx.ist.psu.edu/document?doi=2138108c5414d5ec433c057a6421ccbc32c3c13c&repid=rep1&type=pdf)
15. [Hex implies Y, arXiv:2102.02621](https://arxiv.org/abs/2102.02621)
16. [How to Play Hex, Arcadia Games](https://arcadiagames.io/guides/hex)
17. [Infinite Hex is a draw, arXiv:2201.06475](https://arxiv.org/abs/2201.06475)

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

Topic: 体育、游戏与休闲 › 棋牌与益智游戏 › 桌面游戏 › Modern designer board games › Modern abstract and tile-laying games

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/hex-board-game

English original: https://www.edgepedia.org/hex-board-game
