Combinatorial game theory is a branch of
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
and
theoretical computer science
Theoretical computer science is a subfield of computer science and mathematics that focuses on the Abstraction, abstract and mathematical foundations of computation.
It is difficult to circumscribe the theoretical areas precisely. The Associati ...
that typically studies
sequential game
In game theory, a sequential game is defined as a game where one player selects their action before others, and subsequent players are informed of that choice before making their own decisions. This turn-based structure, governed by a time axis, d ...
s with
perfect information
Perfect information is a concept in game theory and economics that describes a situation where all players in a game or all participants in a market have knowledge of all relevant information in the system. This is different than complete informat ...
. Research in this field has primarily focused on two-player
game
A game is a structured type of play usually undertaken for entertainment or fun, and sometimes used as an educational tool. Many games are also considered to be work (such as professional players of spectator sports or video games) or art ...
s in which a ''position'' evolves through alternating ''moves'', each governed by well-defined rules, with the aim of achieving a specific winning condition. Unlike
economic game theory, combinatorial game theory generally avoids the study of
games of chance
A game of chance is in contrast with a game of skill. It is a game whose outcome is strongly influenced by some randomizing device. Common devices used include dice, spinning tops, playing cards, roulette wheels, numbered balls, or in the case ...
or games involving
imperfect information
The imperfect ( abbreviated ) is a verb form that combines past tense (reference to a past time) and imperfective aspect (reference to a continuing or repeated event or state). It can have meanings similar to the English "was doing (something)" o ...
, preferring instead games in which the current state and the full set of available moves are always known to both players. However, as mathematical techniques develop, the scope of analyzable games expands, and the boundaries of the field continue to evolve. Authors typically define the term "game" at the outset of academic papers, with definitions tailored to the specific game under analysis rather than reflecting the field’s full scope.
Combinatorial
Combinatorics is an area of mathematics primarily concerned with counting, both as a means and as an end to obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many ...
games include well-known examples such as
chess
Chess is a board game for two players. It is an abstract strategy game that involves Perfect information, no hidden information and no elements of game of chance, chance. It is played on a square chessboard, board consisting of 64 squares arran ...
,
checkers
Checkers (American English), also known as draughts (; English in the Commonwealth of Nations, Commonwealth English), is a group of Abstract strategy game, strategy board games for two players which involve forward movements of uniform game ...
, and
Go, which are considered complex and non-trivial, as well as simpler, "solved" games like
tic-tac-toe. Some combinatorial games, such as
infinite chess, may feature an
unbounded playing area. In the context of combinatorial game theory, the structure of such games is typically modeled using a
game tree
In the context of combinatorial game theory, a game tree is a graph representing all possible game states within a sequential game that has perfect information. Such games include chess, checkers, Go, and tic-tac-toe.
A game tree can be us ...
. The field also encompasses single-player puzzles like
Sudoku, and zero-player automata such as
Conway's Game of Life
The Game of Life, also known as Conway's Game of Life or simply Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It is a zero-player game, meaning that its evolution is determined by its initial ...
—although these are sometimes more accurately categorized as
mathematical puzzles or
automata
An automaton (; : automata or automatons) is a relatively self-operating machine, or control mechanism designed to automatically follow a sequence of operations, or respond to predetermined instructions. Some automata, such as bellstrikers i ...
, given that the strictest definitions of "game" imply the involvement of multiple participants.
A key concept in combinatorial game theory is that of the
solved game. For instance,
tic-tac-toe is solved in that optimal play by both participants always results in a draw. Determining such outcomes for more complex games is significantly more difficult. Notably, in 2007,
checkers
Checkers (American English), also known as draughts (; English in the Commonwealth of Nations, Commonwealth English), is a group of Abstract strategy game, strategy board games for two players which involve forward movements of uniform game ...
was announced to be
weakly solved, with perfect play by both sides leading to a draw; however, this result required a
computer-assisted proof
Automation describes a wide range of technologies that reduce human intervention in processes, mainly by predetermining decision criteria, subprocess relationships, and related actions, as well as embodying those predeterminations in machine ...
. Many real-world games remain too complex for complete analysis, though combinatorial methods have shown some success in the study of
Go endgames. Analyzing a ''position'' using combinatorial game theory involves identifying the optimal sequence of moves for both players until the game's conclusion, but this process becomes prohibitively difficult for anything beyond simple games.
It is useful to distinguish between combinatorial "mathgames"—games of primary interest to mathematicians and scientists for theoretical exploration—and "playgames," which are more widely played for entertainment and competition. Some games, such as
Nim, straddle both categories. Nim played a foundational role in the development of combinatorial game theory and was among the earliest games to be programmed on a computer.
Tic-tac-toe continues to be used in teaching fundamental concepts of
game AI
In video games, artificial intelligence (AI) is used to generate responsive, adaptive or intelligent behaviors primarily in non-playable characters (NPCs) similar to human-like intelligence. Artificial intelligence has been an integral part ...
design to
computer science
Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
students.
Difference with traditional game theory
Combinatorial game theory contrasts with "traditional" or "economic"
game theory
Game theory is the study of mathematical models of strategic interactions. It has applications in many fields of social science, and is used extensively in economics, logic, systems science and computer science. Initially, game theory addressed ...
, which, although it can address
sequential play, often incorporates elements of
probability
Probability is a branch of mathematics and statistics concerning events and numerical descriptions of how likely they are to occur. The probability of an event is a number between 0 and 1; the larger the probability, the more likely an e ...
and
incomplete information
In economics and game theory, complete information is an economic situation or game in which knowledge about other market participants or players is available to all participants. The utility functions (including risk aversion), payoffs, strategies ...
. While economic game theory employs
utility theory
In economics, utility is a measure of a certain person's satisfaction from a certain state of the world. Over time, the term has been used with at least two meanings.
* In a Normative economics, normative context, utility refers to a goal or ob ...
and equilibrium concepts, combinatorial game theory is primarily concerned with
two-player
A multiplayer video game is a video game in which more than one person can play in the same game environment at the same time, either locally on the same computing system (couch co-op), on different computing systems via a local area network, or ...
perfect-information games and has pioneered novel techniques for analyzing
game trees, such as through the use of
surreal numbers, which represent a subset of all two-player perfect-information games. The types of games studied in this field are of particular interest in areas such as
artificial intelligence
Artificial intelligence (AI) is the capability of computer, computational systems to perform tasks typically associated with human intelligence, such as learning, reasoning, problem-solving, perception, and decision-making. It is a field of re ...
, especially for tasks in
automated planning
Automated planning and scheduling, sometimes denoted as simply AI planning, is a branch of artificial intelligence that concerns the realization of strategy, strategies or action sequences, typically for execution by intelligent agents, autonomou ...
and
scheduling. However, there is a distinction in emphasis: while economic game theory tends to focus on practical algorithms—such as the
alpha–beta pruning
Alpha–beta pruning is a search algorithm that seeks to decrease the number of nodes that are evaluated by the Minimax#Minimax algorithm with alternate moves, minimax algorithm in its game tree, search tree. It is an adversarial search algorith ...
strategy commonly taught in AI courses—combinatorial game theory places greater weight on theoretical results, including the analysis of
game complexity
Combinatorial game theory measures game complexity in several ways:
#State-space complexity (the number of legal game positions from the initial position)
#Game tree size (total number of possible games)
#Decision complexity (number of leaf nod ...
and the existence of optimal strategies through methods like the
strategy-stealing argument.
History
Combinatorial game theory arose in relation to the theory of
impartial game
In combinatorial game theory, an impartial game is a game in which the allowable moves depend only on the position and not on which of the two players is currently moving, and where the payoffs are symmetric. In other words, the only difference be ...
s, 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
In combinatorial game theory, the Sprague–Grundy theorem states that every impartial game under the normal play convention is equivalent to a one-heap game of nim, or to an infinite generalization of nim. It can therefore be represented ...
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
''On Numbers and Games'' is a mathematics book by John Horton Conway first published in 1976. The book is written by a pre-eminent mathematician, and is directed at other mathematicians. The material is, however, developed in a playful and unpr ...
'', also known as ONAG, which introduced the concept of
surreal number
In mathematics, the surreal number system is a total order, totally ordered proper class containing not only the real numbers but also Infinity, infinite and infinitesimal, infinitesimal numbers, respectively larger or smaller in absolute value th ...
s 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
A star is a luminous spheroid of plasma (physics), plasma held together by Self-gravitation, self-gravity. The List of nearest stars and brown dwarfs, nearest star to Earth is the Sun. Many other stars are visible to the naked eye at night sk ...
.
*
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
Temperature is a physical quantity that quantitatively expresses the attribute of hotness or coldness. Temperature is measurement, measured with a thermometer. It reflects the average kinetic energy of the vibrating and colliding atoms making ...
.
*
Nim - An
impartial game
In combinatorial game theory, an impartial game is a game in which the allowable moves depend only on the position and not on which of the two players is currently moving, and where the payoffs are symmetric. In other words, the only difference be ...
. This allows for the construction of the
nimber
In mathematics, the nimbers, also called Grundy numbers (not to be confused with Grundy chromatic numbers), are introduced in combinatorial game theory, where they are defined as the values of heaps in the game Nim. The nimbers are the ordin ...
s. (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
Chess is a board game for two players. It is an abstract strategy game that involves Perfect information, no hidden information and no elements of game of chance, chance. It is played on a square chessboard, board consisting of 64 squares arran ...
. In 1953
Alan Turing
Alan Mathison Turing (; 23 June 1912 – 7 June 1954) was an English mathematician, computer scientist, logician, cryptanalyst, philosopher and theoretical biologist. He was highly influential in the development of theoretical computer ...
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." In a 1950 paper,
Claude Shannon
Claude Elwood Shannon (April 30, 1916 – February 24, 2001) was an American mathematician, electrical engineer, computer scientist, cryptographer and inventor known as the "father of information theory" and the man who laid the foundations of th ...
estimated the lower bound of the
game-tree complexity
Combinatorial game theory measures game complexity in several ways:
#State-space complexity (the number of legal game positions from the initial position)
#Game tree size (total number of possible games)
#Decision complexity (number of leaf nod ...
of chess to be 10
120, and today this is referred to as the
Shannon number.
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 is the
set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...
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.
:::
:::
:
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
in each player's move list (corresponding to the single leftover square after the move) is called the
zero game, and can actually be abbreviated 0. In the zero game, neither player has any valid moves; thus, the player whose turn it is when the zero game comes up automatically loses.
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
Checkers (American English), also known as draughts (; English in the Commonwealth of Nations, Commonwealth English), is a group of Abstract strategy game, strategy board games for two players which involve forward movements of uniform game ...
, 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 = , 2 = , 3 =
:
−1 = , −2 = , −3 =
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 , 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 , 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.
In standard notation, ↑ = . Its negative is called ''down''.
: −↑ = ↓ (''down'')
Up is strictly positive (↑ > 0), and down is strictly negative (↓ < 0), but both are
infinitesimal
In mathematics, an infinitesimal number is a non-zero quantity that is closer to 0 than any non-zero real number is. The word ''infinitesimal'' comes from a 17th-century Modern Latin coinage ''infinitesimus'', which originally referred to the " ...
. Up and down are defined in ''
Winning Ways for your Mathematical Plays''.
"Hot" games
Consider the game . 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 = .
Nimbers
An
impartial game
In combinatorial game theory, an impartial game is a game in which the allowable moves depend only on the position and not on which of the two players is currently moving, and where the payoffs are symmetric. In other words, the only difference be ...
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
In set theory, an ordinal number, or ordinal, is a generalization of ordinal numerals (first, second, th, etc.) aimed to extend enumeration to infinite sets.
A finite set can be enumerated by successively labeling each element with the leas ...
, 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
nimber
In mathematics, the nimbers, also called Grundy numbers (not to be confused with Grundy chromatic numbers), are introduced in combinatorial game theory, where they are defined as the values of heaps in the game Nim. The nimbers are the ordin ...
s. The
Sprague–Grundy theorem
In combinatorial game theory, the Sprague–Grundy theorem states that every impartial game under the normal play convention is equivalent to a one-heap game of nim, or to an infinite generalization of nim. It can therefore be represented ...
states that every impartial game under the
normal play convention
A normal play convention in a game is the method of determining the winner that is generally regarded as standard. For example:
*Preventing the other player from being able to move
*Being the first player to achieve a target
*Holding the highest va ...
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
Alpha–beta pruning is a search algorithm that seeks to decrease the number of nodes that are evaluated by the Minimax#Minimax algorithm with alternate moves, minimax algorithm in its game tree, search tree. It is an adversarial search algorith ...
, an optimised algorithm for searching the game tree
*
Backward induction
Backward induction is the process of determining a sequence of optimal choices by reasoning from the endpoint of a problem or situation back to its beginning using individual events or actions. Backward induction involves examining the final point ...
, 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
In chess, the endgame tablebase, or simply the tablebase, is a computerised database containing precalculated evaluations of chess endgame, endgame positions. Tablebases are used to analyse finished games, as well as by chess engines to evaluate ...
, 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
Combinatorial game theory measures game complexity in several ways:
#State-space complexity (the number of legal game positions from the initial position)
#Game tree size (total number of possible games)
#Decision complexity (number of leaf nod ...
, 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
References
*
*
* 2nd ed., A K Peters Ltd (2001–2004), ,
* 2nd ed., A K Peters Ltd (2001–2004), , .
*
* See especially sections 21–26.
* 2nd ed., A K Peters Ltd (2001), .
*
External links
List of combinatorial game theory linksat the homepage of
David Eppstein
David Arthur Eppstein (born 1963) is an American computer scientist and mathematician. He is a distinguished professor of computer science at the University of California, Irvine. He is known for his work in computational geometry, graph algor ...
An Introduction to Conway's games and numbersby Dierk Schleicher and Michael Stoll
Combinational Game Theory terms summaryby Bill Spight
Combinatorial Game Theory Workshop, Banff International Research Station, June 2005
{{Authority control