In the mathematics of combinatorial games, the sum or disjunctive sum of two games is a game in which the two games are played in parallel, with each player being allowed to move in just one of the games per turn. The sum game finishes when there are no moves left in either of the two parallel games, at which point the last player to move loses. This operation may be extended to disjunctive sums of any number of games, again by playing the games in parallel and moving inexactly one of the games per turn. It is the fundamental operation that is used in the Sprague–Grundy theorem for impartial games and which led to the field of combinatorial game theory for partisan games.
Application to common games
Disjunctive sums arise in games that naturally break up into components or regions that do not interact except in that each player in turn must choose just one component to play in. Examples of such games are Go, Nim, Sprouts, Domineering, the Game of the Amazons, and the map-coloring games. In such games, each component may be analyzed separately for simplifications that do not affect its outcome or the outcome of its disjunctive sum with other games. Once this analysis has been performed, the components can be combined by taking the disjunctive sum of two games at a time, combining them into a single game with the same outcome as the original game.
Mathematics
The sum operation was formalized by. It is a commutative and associative operation: if two games are combined, the outcome is the same regardless of what order they are combined, and if more than two games are combined, the outcome is the same regardless of how they are grouped. The negation −G of a game G forms an additive inverse under disjunctive sums: the gameG + −G is a zero game using a simple echoing strategy in which the second player repeatedly copies the first player's move in the other game. For any two games G and H, the game H + G + −G has the same outcome as H itself. Based on these properties, the class of combinatorial games may be thought of as having the structure of an abelian group, although with a proper class of elements rather than a set of elements. For an important subclass of the games called the surreal numbers, there exists a multiplication operator that extends this group to a field. For impartial misère play games, an analogous theory of sums can be developed, but with fewer of these properties: these games form a commutative monoid with only one nontrivial invertible element, called star, of order two.