Combinatorial game theory
{{Short description|Branch of game theory about two-player sequential games with perfect information}}
{{about|the theory of combinatorial games|the theory that includes games of chance and games of imperfect knowledge|Game theory}}
Image:Mathematicians playing Konane.jpg at a combinatorial game theory workshop]]
Combinatorial game theory is a branch of mathematics and theoretical computer science that typically studies sequential games with perfect information. Study has been largely confined to two-player games that have a position that the players take turns changing in defined ways or moves to achieve a defined winning condition. Combinatorial game theory has not traditionally studied games of chance or those that use imperfect or incomplete information, favoring games that offer perfect information in which the state of the game and the set of available moves is always known by both players.Lessons in Play, p. 3 However, as mathematical techniques advance, the types of game that can be mathematically analyzed expands, thus the boundaries of the field are ever changing.Thomas S. Fergusson's analysis of poker is an example of combinatorial game theory expanding into games that include elements of chance. Research into Three Player Nim is an example of study expanding beyond two player games. Conway, Guy and Berlekamp's analysis of partisan games is perhaps the most famous expansion of the scope of combinatorial game theory, taking the field beyond the study of impartial games. Scholars will generally define what they mean by a "game" at the beginning of a paper, and these definitions often vary as they are specific to the game being analyzed and are not meant to represent the entire scope of the field.
Combinatorial games include well-known games such as chess, checkers, and Go, which are regarded as non-trivial, and tic-tac-toe, which is considered trivial, in the sense of being "easy to solve". Some combinatorial games may also have an unbounded playing area, such as infinite chess. In combinatorial game theory, the moves in these and other games are represented as a game tree.
Combinatorial games also include one-player combinatorial puzzles such as Sudoku, and no-player automata, such as Conway's Game of Life, (although in the strictest definition, "games" can be said to require more than one participant, thus the designations of "puzzle" and "automata".{{cite book
| last1 = Demaine | first1 = Erik D. | author1-link = Erik Demaine
| last2 = Hearn | first2 = Robert A. | author2-link = Bob Hearn
| editor1-last = Albert | editor1-first = Michael H.
| editor2-last = Nowakowski | editor2-first = Richard J.
| arxiv = cs.CC/0106019
| contribution = Playing games with algorithms: algorithmic combinatorial game theory
| contribution-url = https://erikdemaine.org/papers/AlgGameTheory_GONC3/
| pages = 3–56
| publisher = Cambridge University Press
| series = Mathematical Sciences Research Institute Publications
| title = Games of No Chance 3
| volume = 56
| year = 2009}})
Game theory in general includes games of chance, games of imperfect knowledge, and games in which players can move simultaneously, and they tend to represent real-life decision making situations.
Combinatorial game theory has a different emphasis than "traditional" or "economic" game theory, which was initially developed to study games with simple combinatorial structure, but with elements of chance (although it also considers sequential moves, see extensive-form game). Essentially, combinatorial game theory has contributed new methods for analyzing game trees, for example using surreal numbers, which are a subclass of all two-player perfect-information games. The type of games studied by combinatorial game theory is also of interest in artificial intelligence, particularly for automated planning and scheduling. In combinatorial game theory there has been less emphasis on refining practical search algorithms (such as the alpha–beta pruning heuristic included in most artificial intelligence textbooks), but more emphasis on descriptive theoretical results (such as measures of game complexity or proofs of optimal solution existence without necessarily specifying an algorithm, such as the strategy-stealing argument).
An important notion in combinatorial game theory is that of the solved game. For example, tic-tac-toe is considered a solved game, as it can be proven that any game will result in a draw if both players play optimally. Deriving similar results for games with rich combinatorial structures is difficult. For instance, in 2007 it was announced that checkers has been weakly solved—optimal play by both sides also leads to a draw—but this result was a computer-assisted proof.{{Cite journal| last1 = Schaeffer | first1 = J.| last2 = Burch | first2 = N.| last3 = Bjornsson | first3 = Y.| last4 = Kishimoto | first4 = A.| last5 = Muller | first5 = M.| last6 = Lake | first6 = R.| last7 = Lu | first7 = P.| last8 = Sutphen | first8 = S.| title = Checkers is solved| journal = Science| volume = 317| issue = 5844| pages = 1518–1522| year = 2007| pmid = 17641166| doi = 10.1126/science.1144079| citeseerx = 10.1.1.95.5393| bibcode = 2007Sci...317.1518S| s2cid = 10274228}} Other real world games are mostly too complicated to allow complete analysis today, although the theory has had some recent successes in analyzing Go endgames. Applying combinatorial game theory to a position attempts to determine the optimum sequence of moves for both players until the game ends, and by doing so discover the optimum move in any position. In practice, this process is torturously difficult unless the game is very simple.
It can be helpful to distinguish between combinatorial "mathgames" of interest primarily to mathematicians and scientists to ponder and solve, and combinatorial "playgames" of interest to the general population as a form of entertainment and competition.{{Cite journal| last1 = Fraenkel | first1 = Aviezri| title = Combinatorial Games: selected bibliography with a succinct gourmet introduction| journal = Games of No Chance 3| volume = 56| pages = 492| year = 2009}} However, a number of games fall into both categories. Nim, for instance, is a playgame instrumental in the foundation of combinatorial game theory, and one of the first computerized games.{{Cite news |url=http://www.newyorker.com/archive/1952/08/02/1952_08_02_018_TNY_CARDS_000236053 |title=The Talk of the Town - It |first1=Eugene F. |last1=Grant |first2=Rex |last2=Lardner |date=2 August 1952 |newspaper=The New Yorker}} Tic-tac-toe is still used to teach basic principles of game AI design to computer science students.{{cite book | last1 = Russell | first1 = Stuart | author1-link = Stuart J. Russell | last2 = Norvig | first2 = Peter | author2-link = Peter Norvig | contribution = Chapter 5: Adversarial search and games | edition = 4th | isbn = 978-0-13-461099-3 | pages = 146–179 | publisher = Pearson Education, Inc. | series = Pearson series in artificial intelligence | title = Artificial Intelligence: A Modern Approach | title-link = Artificial Intelligence: A Modern Approach | year = 2021}}
History
Combinatorial game theory arose in relation to the theory of impartial games, in which any play available to one player must be available to the other as well. One such game is Nim, which can be solved completely. Nim is an impartial game for two players, and subject to the normal play condition, which means that a player who cannot move loses. In the 1930s, the Sprague–Grundy theorem showed that all impartial games are equivalent to heaps in Nim, thus showing that major unifications are possible in games considered at a combinatorial level, in which detailed strategies matter, not just pay-offs.
In the 1960s, Elwyn R. Berlekamp, John H. Conway and Richard K. Guy jointly introduced the theory of a partisan game, in which the requirement that a play available to one player be available to both is relaxed. Their results were published in their book Winning Ways for your Mathematical Plays in 1982. However, the first work published on the subject was Conway's 1976 book On Numbers and Games, also known as ONAG, which introduced the concept of surreal numbers and the generalization to games. On Numbers and Games was also a fruit of the collaboration between Berlekamp, Conway, and Guy.
Combinatorial games are generally, by convention, put into a form where one player wins when the other has no moves remaining. It is easy to convert any finite game with only two possible results into an equivalent one where this convention applies. One of the most important concepts in the theory of combinatorial games is that of the sum of two games, which is a game where each player may choose to move either in one game or the other at any point in the game, and a player wins when his opponent has no move in either game. This way of combining games leads to a rich and powerful mathematical structure.
Conway stated in On Numbers and Games that the inspiration for the theory of partisan games was based on his observation of the play in Go endgames, which can often be decomposed into sums of simpler endgames isolated from each other in different parts of the board.
Examples
The introductory text Winning Ways introduced a large number of games, but the following were used as motivating examples for the introductory theory:
- Blue–Red Hackenbush - At the finite level, this partisan combinatorial game allows constructions of games whose values are dyadic rational numbers. At the infinite level, it allows one to construct all real values, as well as many infinite ones that fall within the class of surreal numbers.
- Blue–Red–Green Hackenbush - Allows for additional game values that are not numbers in the traditional sense, for example, star.
- Toads and Frogs - Allows various game values. Unlike most other games, a position is easily represented by a short string of characters.
- Domineering - Various interesting games, such as hot games, appear as positions in Domineering, because there is sometimes an incentive to move, and sometimes not. This allows discussion of a game's temperature.
- Nim - An impartial game. This allows for the construction of the nimbers. (It can also be seen as a green-only special case of Blue-Red-Green Hackenbush.)
The classic game Go was influential on the early combinatorial game theory, and Berlekamp and Wolfe subsequently developed an endgame and temperature theory for it (see references). Armed with this they were able to construct plausible Go endgame positions from which they could give expert Go players a choice of sides and then defeat them either way.
Another game studied in the context of combinatorial game theory is chess. In 1953 Alan Turing wrote of the game, "If one can explain quite unambiguously in English, with the aid of mathematical symbols if required, how a calculation is to be done, then it is always possible to programme any digital computer to do that calculation, provided the storage capacity is adequate."{{cite web
| url=https://turingarchive.kings.cam.ac.uk/publications-lectures-and-talks-amtb/amt-b-7 | title=Digital computers applied to games
| author=Alan Turing
| publisher=University of Southampton and King's College Cambridge
| page=2
}} In a 1950 paper, Claude Shannon estimated the lower bound of the game-tree complexity of chess to be 10120, and today this is referred to as the Shannon number.{{cite journal | author = Claude Shannon | author-link = Claude Shannon | title = Programming a Computer for Playing Chess | journal = Philosophical Magazine | volume = 41 | issue = 314 | year = 1950 | page = 4 | url = http://archive.computerhistory.org/projects/chess/related_materials/text/2-0%20and%202-1.Programming_a_computer_for_playing_chess.shannon/2-0%20and%202-1.Programming_a_computer_for_playing_chess.shannon.062303002.pdf | url-status = dead | archiveurl = https://web.archive.org/web/20100706211229/http://archive.computerhistory.org/projects/chess/related_materials/text/2-0%20and%202-1.Programming_a_computer_for_playing_chess.shannon/2-0%20and%202-1.Programming_a_computer_for_playing_chess.shannon.062303002.pdf | archivedate = 2010-07-06 }} Chess remains unsolved, although extensive study, including work involving the use of supercomputers has created chess endgame tablebases, which shows the result of perfect play for all end-games with seven pieces or less. Infinite chess has an even greater combinatorial complexity than chess (unless only limited end-games, or composed positions with a small number of pieces are being studied).
Overview
A game, in its simplest terms, is a list of possible "moves" that two players, called left and right, can make. The game position resulting from any move can be considered to be another game. This idea of viewing games in terms of their possible moves to other games leads to a recursive mathematical definition of games that is standard in combinatorial game theory. In this definition, each game has the notation {L|R}. L is the set of game positions that the left player can move to, and R is the set of game positions that the right player can move to; each position in L and R is defined as a game using the same notation.
Using Domineering as an example, label each of the sixteen boxes of the four-by-four board by A1 for the upper leftmost square, C2 for the third box from the left on the second row from the top, and so on. We use e.g. (D3, D4) to stand for the game position in which a vertical domino has been placed in the bottom right corner. Then, the initial position can be described in combinatorial game theory notation as
:
In standard Cross-Cram play, the players alternate turns, but this alternation is handled implicitly by the definitions of combinatorial game theory rather than being encoded within the game states.
:::Image:20x20square.pngImage:20x20square.png
:
\} | \{|\} \}.
The above game describes a scenario in which there is only one move left for either player, and if either player makes that move, that player wins. (An irrelevant open square at C3 has been omitted from the diagram.) The |
The type of game in the diagram above also has a simple name; it is called the star game, which can also be abbreviated ∗. In the star game, the only valid move leads to the zero game, which means that whoever's turn comes up during the star game automatically wins.
An additional type of game, not found in Domineering, is a loopy game, in which a valid move of either left or right is a game that can then lead back to the first game. Checkers, for example, becomes loopy when one of the pieces promotes, as then it can cycle endlessly between two or more squares. A game that does not possess such moves is called loopfree.
There are also transfinite games, which have infinitely many positions—that is, left and right have lists of moves that are infinite rather than finite.
Game abbreviations
=Numbers=
Numbers represent the number of free moves, or the move advantage of a particular player. By convention positive numbers represent an advantage for Left, while negative numbers represent an advantage for Right. They are defined recursively with 0 being the base case.
: 0 =
}
: 1 = {0 |
:
The zero game is a loss for the first player.
The sum of number games behaves like the integers, for example 3 + −2 = 1.
Any game number is in the class of the surreal numbers.
=Star=
Star, written as ∗ or {0|0}, is a first-player win since either player must (if first to move in the game) move to a zero game, and therefore win.
: ∗ + ∗ = 0, because the first player must turn one copy of ∗ to a 0, and then the other player will have to turn the other copy of ∗ to a 0 as well; at this point, the first player would lose, since 0 + 0 admits no moves.
The game ∗ is neither positive nor negative; it and all other games in which the first player wins (regardless of which side the player is on) are said to be fuzzy or confused with 0; symbolically, we write ∗ || 0.
The game ∗n is notation for {0, ∗, …, ∗(n-1)| 0, ∗, …, ∗(n-1)}, which is also representative of normal-play Nim with a single heap of n objects. (Note that ∗0 = 0 and ∗1 = ∗.)
=Up and down=
Up, written as ↑, is a position in combinatorial game theory.{{cite book |author1=E. Berlekamp |author2=J. H. Conway |author3=R. Guy | title=Winning Ways for your Mathematical Plays | volume=I | publisher=Academic Press | year=1982 | isbn=0-12-091101-9}}
{{cite book |author1=E. Berlekamp |author2=J. H. Conway |author3=R. Guy | title=Winning Ways for your Mathematical Plays | volume=II | publisher=Academic Press | year=1982 | isbn=0-12-091102-7}} In standard notation, ↑ = {0|∗}. Its negative is called down.
: −↑ = ↓ (down)
Up is strictly positive (↑ > 0), and down is strictly negative (↓ < 0), but both are infinitesimal. Up and down are defined in Winning Ways for your Mathematical Plays.
=[[Hot game|"Hot" games]]=
Consider the game {1|−1}. Both moves in this game are an advantage for the player who makes them; so the game is said to be "hot;" it is greater than any number less than −1, less than any number greater than 1, and fuzzy with any number in between. It is written as ±1. Note that a subclass of hot games, referred to as ±n for some numerical game n is a switch game. Switch games can be added to numbers, or multiplied by positive ones, in the expected fashion; for example, 4 ± 1 = {5|3}.
Nimbers
An impartial game is one where, at every position of the game, the same moves are available to both players. For instance, Nim is impartial, as any set of objects that can be removed by one player can be removed by the other. However, domineering is not impartial, because one player places horizontal dominoes and the other places vertical ones. Likewise Checkers is not impartial, since the players own different colored pieces. For any ordinal number, one can define an impartial game generalizing Nim in which, on each move, either player may replace the number with any smaller ordinal number; the games defined in this way are known as nimbers. The Sprague–Grundy theorem states that every impartial game under the normal play convention is equivalent to a nimber.
The "smallest" nimbers – the simplest and least under the usual ordering of the ordinals – are 0 and ∗.
See also
- Alpha–beta pruning, an optimised algorithm for searching the game tree
- Backward induction, reasoning backwards from a final situation
- Cooling and heating (combinatorial game theory), various transformations of games making them more amenable to the theory
- Connection game, a type of game where players attempt to establish connections
- Endgame tablebase, a database saying how to play endgames
- Expectiminimax tree, an adaptation of a minimax game tree to games with an element of chance
- Extensive-form game, a game tree enriched with payoffs and information available to players
- Game classification, an article discussing ways of classifying games
- Game complexity, an article describing ways of measuring the complexity of games
- Grundy's game, a mathematical game in which heaps of objects are split
- Multi-agent system, a type of computer system for tackling complex problems
- Positional game, a type of game where players claim previously-unclaimed positions
- Solving chess
- Sylver coinage, a mathematical game of choosing positive integers that are not the sum of non-negative multiples of previously chosen integers
- Wythoff's game, a mathematical game of taking objects from one or two piles
- Topological game, a type of mathematical game played in a topological space
- Zugzwang, being obliged to play when this is disadvantageous
Notes
{{Reflist}}
References
- {{cite book
| last1 = Albert | first1 = Michael H. | author1-link = Michael H. Albert
| last2 = Nowakowski | first2 = Richard J.
| last3 = Wolfe | first3 = David
| isbn = 978-1-56881-277-9
| publisher = A K Peters Ltd
| title = Lessons in Play: An Introduction to Combinatorial Game Theory
| year = 2007}}
- {{cite book
| last = Beck | first = József | author-link = József Beck
| isbn = 978-0-521-46100-9
| publisher = Cambridge University Press
| title = Combinatorial games: tic-tac-toe theory
| title-link = Combinatorial Games: Tic-Tac-Toe Theory
| year = 2008}}
- {{cite book
| last1 = Berlekamp | first1 = E. | author1-link = Elwyn Berlekamp
| last2 = Conway | first2 = J. H. | author2-link = John Horton Conway
| last3 = Guy | first3 = R. | author3-link = Richard K. Guy
| isbn = 0-12-091101-9
| publisher = Academic Press
| title = Winning Ways for your Mathematical Plays: Games in general
| year = 1982}} 2nd ed., A K Peters Ltd (2001–2004), {{ISBN|1-56881-130-6}}, {{ISBN|1-56881-142-X}}
- {{cite book
| last1 = Berlekamp | first1 = E.
| last2 = Conway | first2 = J. H.
| last3 = Guy | first3 = R. | author3-link = Richard K. Guy
| isbn = 0-12-091102-7
| publisher = Academic Press
| title = Winning Ways for your Mathematical Plays: Games in particular
| url = https://archive.org/details/winningwaysforyo02berl | url-access = registration | year = 1982}} 2nd ed., A K Peters Ltd (2001–2004), {{ISBN|1-56881-143-8}}, {{ISBN|1-56881-144-6}}.
- {{cite book
| last1 = Berlekamp | first1 = Elwyn | author1-link = Elwyn Berlekamp
| last2 = Wolfe | first2 = David | author2-link = David Wolfe (mathematician)
| isbn = 1-56881-032-6
| publisher = A K Peters Ltd
| title = Mathematical Go: Chilling Gets the Last Point
| url = https://archive.org/details/mathematicalgoch0000berl | url-access = registration | year = 1997}}
- {{cite book
| last = Bewersdorff | first = Jörg | author1-link = Jörg Bewersdorff
| isbn = 978-1-003-09287-2
| publisher = A K Peters/CRC Press
| title = Luck, Logic and White Lies: The Mathematics of Games
| doi = 10.1201/9781003092872
| edition= 2nd
| year = 2021}} See especially sections 21–26.
- {{cite book
| last = Conway | first = John Horton | author-link = John Horton Conway
| isbn = 0-12-186350-6
| publisher = Academic Press
| title = On Numbers and Games
| year = 1976}} 2nd ed., A K Peters Ltd (2001), {{ISBN|1-56881-127-6}}.
- {{cite book|author1=Robert A. Hearn|author1-link=Bob Hearn|author2=Erik D. Demaine|title=Games, Puzzles, and Computation|title-link= Games, Puzzles, and Computation |year=2009|publisher=A K Peters, Ltd.|isbn=978-1-56881-322-6}}
External links
- [http://www.ics.uci.edu/~eppstein/cgt/ List of combinatorial game theory links] at the homepage of David Eppstein
- [https://arxiv.org/abs/math/0410026 An Introduction to Conway's games and numbers] by Dierk Schleicher and Michael Stoll
- [http://senseis.xmp.net/?CGTPath#toc1 Combinational Game Theory terms summary] by Bill Spight
- [https://web.archive.org/web/20051217072124/http://www.pims.math.ca/birs/birspages.php?task=displayevent&event_id=05w5048 Combinatorial Game Theory Workshop, Banff International Research Station, June 2005]
{{Game theory}}
{{Authority control}}