ludology: the study of Games¶
Note
We use the term Game (capital G) to refer to a mathematical object defined below, and the term game (lower case) to refer to particular games such as Amazons, Domineering, or Hackenbush.
This package is for the study of Games, mathematical abstractions for the analysis of partizan games.
A partizan game is one such that:
there are two players, Left and Right, who alternate turns
there are no random elements (dice, shuffled cards, etc)
there is no sequence of play which causes the state of the game to repeat
if it is a player’s turn and they are unable to move, they lose
Games¶
A Game \(G\) is defined as two sets of Games, a left set and a right set, and is typically denoted:
where \(\leftoption\) denotes a typical member of the left set and \(\rightoption\) denotes a typical member of the right set. A Game represents the current state of a game, where the left set consists of the possible game states the Left player can transition the game to, while the right set consists of the possible game states the Right player can transition the game to.
This recursive definition requires a base case, which in this case in given by both sets being empty, and we define this game to be “\(0\)”:
From here three new Games can be constructed:
Operations¶
The negation of a Game is equivalent to swapping players:
The (disjoint) sum of two Games is defined by:
and subtraction is defined as \(G - H = G + (-H)\).
Surreal Numbers¶
Nimbers¶
Thermography¶
Thermography is the study of a Game’s temperature. Roughly, temperature is a measure of the impetus with which a player would like to move in the Game.
(Source code, png, hires.png, pdf)
