# 蟾蜍与青蛙

**蟾蜍与青蛙**（Toads and Frogs）是一种在一条一维方格带上进行的部族组合博弈：左方将蟾蜍向右移动，右方将青蛙向左移动，每枚棋子要么滑入相邻的空格，要么恰好跳过一枚对方棋子落入其后的空格，无法行棋的一方判负。它被研究为组合博弈论中标准小数值的来源：五格或六格的方格带即可实现上（↑）、下（↓）、星（∗）、整数、二进分数以及开关等多种值。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup>

| 关键事实 | 详情 |
|---|---|
| 棋盘与棋子 | 一条 1 × n 的方格带，放置蟾蜍（左方棋子，面朝右）与青蛙（右方棋子，面朝左）<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup> |
| 走法 | 棋子向前滑动一格进入空格，或恰好跳过一枚对方棋子落入紧邻其后的空格<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup> |
| 胜负条件 | 正常规则：无法行棋者负<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup> |
| 最小数值 | `T.` = 1，`.F` = −1，`T..` = 2，`TF.` = 0，`T.F` = ∗<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup> |
| 枚举结果 | 长度 3 至 7 的全部 3,270 条方格带共得出 113 个不同的规范值<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup> |
| 无穷小量 | 某些六格带的值恰为 ↑，另一些恰为 ↓；没有公式能判定哪些方格带的值是 ↑<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup> |
| 复杂度 | 该博弈存在 NP 困难的实例<sup>[2](https://combinatorialgametheory.blogspot.com/2010/10/game-description-toads-and-frogs.html)</sup> |

## 规则

游戏在一块或多块方格行上进行，每格要么为空，要么至多由一只生物占据。<sup>[3](https://mathstrek.blog/2012/08/18/combinatorial-game-theory-viii/)</sup> 左方控制蟾蜍，面朝右；右方控制青蛙，面朝左。轮到一个玩家时，他选择自己的一只动物，将其向前移动一格进入空格，或恰好跳过一只对方动物落入紧邻其后的空格。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup> 按正常规则，首先无法行棋的玩家在其回合中判负。<sup>[4](https://web.mit.edu/activities/puzzle/2022/puzzle/a-number-of-games/)</sup>

将一个局面取负，是把整行绕竖直轴翻转，蟾蜍变青蛙、青蛙变蟾蜍。<sup>[3](https://mathstrek.blog/2012/08/18/combinatorial-game-theory-viii/)</sup> 局面的和则在若干平行行上进行，轮到行棋的玩家选择一行并在其中走一步。<sup>[2](https://combinatorialgametheory.blogspot.com/2010/10/game-description-toads-and-frogs.html)</sup>

一份二手资料将方向颠倒，称蟾蜍在 1 × n 棋盘上向左移动、青蛙向右。<sup>[5](https://www.ieor.iitb.ac.in/sites/default/files/LectureNotesCombGameIE619_Spring2026_0.pdf)</sup> 包括详细数值计算在内的大多数描述都采用蟾蜍向右、青蛙向左；两种约定互为镜像，不改变理论。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup>

## 起源与归属

关于谁发明了这个游戏，各资料说法不一。据该主题的详细论述，理查德·盖伊（Richard Guy）发明了蟾蜍与青蛙，并在《论数与博弈》（*On Numbers and Games*）中给出，用以说明规则极简单的游戏如何能产生范围广泛的值，主要手段便是提供无穷小量的例子。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup><sup> • </sup><sup>[11](https://www3.risc.jku.at/publications/download/risc_4187/tf1.pdf)</sup> 而 Ludii 游戏数据库则将发明权归于理查德·盖伊，创作日期定为 1980 年，并称其为一种数学游戏，用作《稳操胜券：数学博弈面面观》（*Winning Ways for your Mathematical Plays*）中的入门游戏。<sup>[6](https://ludii.games/details.php?keyword=Toads+and+Frogs)</sup> 一个教学博客同样称其为理查德·盖伊发明的游戏。<sup>[2](https://combinatorialgametheory.blogspot.com/2010/10/game-description-toads-and-frogs.html)</sup> 若干研究论文则中立地称之为“理查德·盖伊的组合博弈蟾蜍与青蛙”。<sup>[7](https://arxiv.org/abs/0710.4951)</sup>

该游戏属于组合博弈论中的部族分支，即 1970 年代该学科从尼姆（Nim）等无偏博弈向外扩展的产物；那次扩展的游戏清单包括科南（Konane）、各种[哈肯布什](https://www.edgepedia.org/zh/hackenbush)（Hackenbush）变体、多米诺（Domineering）以及蟾蜍与青蛙。<sup>[8](https://math.berkeley.edu/~berlek/cgt/cgt-info.html)</sup>

## 小数值

最小的方格带已经展示了这一数值体系的跨度。一只蟾蜍前方有一个空格，记作 `T.`，左方有一着可走而右方没有，故其值为 1；镜像局面 `.F` 为 −1。方格带 `T..` 给左方两着，故值 2。在 `TF.` 中，一只青蛙挡住一只蟾蜍，而青蛙之后的格子是空的，左方因此可以跳；跳完之后，青蛙发现其左侧有一个空格，右方得以行棋，计算所得局面的值即为 0。方格带 `T.F` 是该游戏的第一个无穷小量：左方把蟾蜍移入空隙，或右方把青蛙移入空隙，无论哪一步都会让对手无棋可走，故其值为 {0 | 0} = ∗，与零不可比，谁先走谁赢。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup>

**并非全小博弈。** 一种常见的说法认为蟾蜍与青蛙是全小博弈，即在每个局面中要么双方都有棋可走、要么双方都无棋可走，因而每个值都是无穷小量。此说为假：`T.` 的值为 1，`T..` 的值为 2，而前方有空地的蟾蜍串给左方许多着、右方一着也没有，`TTT...` 的值是 9。真实情况是，该游戏在五格或六格的方格带中产生了整个初等值域——整数、二进分数、开关、尼姆数以及无穷小量。真正全小的博弈如[克洛伯](https://www.edgepedia.org/zh/clobber)（Clobber）的值集则要窄得多。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup>

## 上从何而来

对长度三至七的每一条方格带——即由符号 T、F 与空格构成的 3,270 个字符串——逐一求值并规范化，共得出 113 个不同的规范形式。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup> 其中，一条六格带的值恰为 ↑，另一条恰为 ↓，这些值从棋盘图形上看不出来，只有把七格以内的所有方格带都求值才能发现。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup> 在一个并非为此设计的游戏中，在五格的方格带上找到原始选项恰为 0 和 ∗ 的 ↑，正是这个游戏得以成为范例的原因：它具体地实现了理论中的对象，却并非为理论而设计，这一点不同于哈肯布什——其清晰可读的值是刻意构造的——也不同于多米诺——其值真实存在却大多无名。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup>

## 研究史

对该游戏的扩展分析出自杰夫·埃里克森（Jeff Erickson），完成于 1990 年代，包括小局面的枚举与一份未解问题目录；他发表于《机会博弈》（*Games of No Chance*，1996）的综述至今仍是标准参考文献。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup> 埃里克森通过计算机实现规则，推导出大量局面族的新数值，并给出了双青蛙局面的部分结果。<sup>[9](https://jeffe.cs.illinois.edu/pubs/pdf/toads.pdf)</sup>

在计算方面，[罗格斯大学](https://www.edgepedia.org/zh/rutgers-university)[多伦·蔡尔伯格](https://www.edgepedia.org/zh/doron-zeilberger)（Doron Zeilberger）的学生托萨蓬·“埃克”·他那提帕农达（Thotsaporn "Aek" Thanatipanonda）与蔡尔伯格发展了一种有限状态自动机方法，实现在一个名为 ToadsAndFrogs 的 [Maple](https://www.edgepedia.org/zh/maple-software) 软件包中，能自动猜想并严格证明大量局面族值的显式表达式；其成果之一便是证明了埃里克森的一个猜想。论文发表于《差分方程及其应用杂志》（*Journal of Difference Equations and Its Applications*）第 15 卷（2009），第 111–118 页。<sup>[7](https://arxiv.org/abs/0710.4951)</sup>

在复杂度方面，杰西·赫尔（Jesse Hull）证明了该游戏存在 NP 困难的实例；至于判定任意局面的胜者在复杂度理论意义上是否困难，例如是否为 PSPACE 完全，仍无定论。<sup>[2](https://combinatorialgametheory.blogspot.com/2010/10/game-description-toads-and-frogs.html)</sup>

## 未解问题

蟾蜍与青蛙是一个小游戏，却有着真正的未解问题。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup>

- **初始局面。** 自然的初始方格带是 n 只蟾蜍、k 个空格、n 只青蛙。其值在小 n 与 k 时已知，但没有一般公式。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup>
- **哪些方格带的值是 ↑。** 目前没有刻画方法；值为 ↑ 的方格带只能通过求值找到。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup>
- **值集。** 蟾蜍与青蛙的局面究竟能取哪些值，仍然未知；随着局面被枚举，每个长度都会带来新的不同值，而这个集合看不出有封闭的迹象。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup>
- **复杂度。** 尚无人解决在复杂度理论意义上判定给定局面哪一方获胜有多难，但普遍假设该问题的难度与大多数此类游戏相当。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup>

1990 年代，埃里克森编纂了一份综述，记录当时已知与仍未解决的内容，此后这份清单几乎没有缩减；与多米诺一样，该游戏的小实例已由计算解决，而完全一般的问题仍无答案。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup>

## 作为范例游戏的地位

该游戏没有值得一提的休闲玩家群体，而是作为研究对象存在，这使它区别于作为游戏发明出来的多米诺，而更接近作为例示发明出来的哈肯布什，只不过哈肯布什的值清晰可读，蟾蜍与青蛙的值则不然。<sup>[1](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)</sup> 它的规则一行就能写完，它的值却不能。它被用于教学正是因为这个原因：学生可以手工计算许多局面，包括一些任意大小的局面，而只要把各行画在彼此之上，构造和也很容易。<sup>[2](https://combinatorialgametheory.blogspot.com/2010/10/game-description-toads-and-frogs.html)</sup> NRICH 数学教育项目在课堂解题中使用该游戏的一个版本，名为“青蛙”（Frogs）。<sup>[10](https://nrich.maths.org/solving-together-frogs)</sup>

## References

1. [Toads and Frogs, Combinatorial Game Theory (essay with computed values and enumeration)](https://www.combinatorial-game-theory.com/essays/toads-and-frogs/)
2. [Game Description: Toads and Frogs, Combinatorial Game Theory blog (Kyle Burke, 2010)](https://combinatorialgametheory.blogspot.com/2010/10/game-description-toads-and-frogs.html)
3. [Combinatorial Game Theory VIII, Mathematics and Such (2012)](https://mathstrek.blog/2012/08/18/combinatorial-game-theory-viii/)
4. [A Number of Games, MIT Mystery Hunt 2022](https://web.mit.edu/activities/puzzle/2022/puzzle/a-number-of-games/)
5. [Lecture Notes in Combinatorial Game Theory, IE619, Urban Larsson, IEOR IITB](https://www.ieor.iitb.ac.in/sites/default/files/LectureNotesCombGameIE619_Spring2026_0.pdf)
6. [Toads and Frogs, Ludii Portal](https://ludii.games/details.php?keyword=Toads+and+Frogs)
7. [Thanatipanonda, T. and Zeilberger, D. (2007). A Symbolic Finite-state approach for Automated Proving of Theorems in Combinatorial Game Theory. arXiv:0710.4951](https://arxiv.org/abs/0710.4951)
8. [Combinatorial Game Theory Background, UC Berkeley (Berlekamp)](https://math.berkeley.edu/~berlek/cgt/cgt-info.html)
9. [Erickson, J. New Toads and Frogs results, in Games of No Chance (1996)](https://jeffe.cs.illinois.edu/pubs/pdf/toads.pdf)
10. [Solving together, Frogs, NRICH](https://nrich.maths.org/solving-together-frogs)
11. [www3.risc.jku.at](https://www3.risc.jku.at/publications/download/risc_4187/tf1.pdf)

---
*Initially written Oct 21, 2026*

Topic: 体育、游戏与休闲 › 棋牌与益智游戏 › 益智游戏

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/toads-and-frogs

English original: https://www.edgepedia.org/toads-and-frogs
