1 Introduction

   1.1.  What is combinatorial game theory?
   1.2.  Conventions and terminology
   1.3.  Fundamental examples
     1.3.1.  Domineering
     1.3.2.  Hackenbush
     1.3.3.  Nim
   1.4.  Why study it?
   1.5.  Necessary background
   1.6.  References

1.1 What is combinatorial game theory?

If, like me, you were once a child, then at some point you probably learned the pencil-and-paper game Dots and Boxes, first published by French mathematician Édouard Lucas in the 19th century. For those of you who missed that day in second grade, here are the rules.

Rules for Dots and Boxes

  • The game is played by two players on a rectangular grid of dots.

  • On a player’s turn, she draws a line connecting two adjacent dots (that are not already connected).Two dots are adjacent if they are a unit distance apart either horizontally or vertically.

  • If a player draws the fourth side of a unit box, she gets a point (which she records by placing her initial in the completed box) and takes another turn.If her move completed two boxes at once, she gets two points but only takes one additional turn.

  • After all possible lines have been drawn, the winner is the player with more points.

You may find it surprising that Dots and Boxes has quite a deep strategy.See The Dots and Boxes Game: Sophisticated Child’s Play by Elwyn Berlekamp.In fact, it has gone mostly unnoticed by second graders worldwide (perhaps due to their inclination towards instant gratification) that it is sometimes advantageous not to complete the fourth side of a box.

Example 1.1 Consider the following Dots and Boxes position, and suppose Alice is next to move:

If Alice were a beginner, she would expect to lose for the following reason. Currently the board is divided into 3 chains, and any move in a chain allows the opponent to capture all the boxes in that chain. Hence Alice (in blue) must cede one of the chains to her opponent Bob (in red). Then Bob will have to let her get the second chain, but she must give him the third chain. Hence it seems like Bob will win 6–3.

Luckily, Alice is not a beginner, for she notes that on her second move, it is better to decline the last two boxes to force Bob to go again. He then must move in the last chain, allowing her to eke out a 5–4 win.

Most adults have graduated from children’s games such as Tic-Tac-Toe, Dots and Boxes, and Connect Four to more complex games like Checkers, Chess, and Go. Still, all of these games share a few key properties that make them combinatorial games.

Roughly speaking, combinatorial game theory is the study of sequential games with perfect information and no chance. Note that many popular games do not satisfy these criteria.

Example 1.2

  • Rock-paper-scissors is a simultaneous game since both players reveal their choices at the same time.

  • Poker is a sequential game since players take turns making bets and drawing cards, but it has imperfect information since players do not know what cards the other player has.

  • Backgammon is a sequential game with perfect information, but it has chance elements, namely the rolling of dice.

Simultaneous games with imperfect information or chance elements generally fall under the purview of classical game theory, which we will not be studying in this course.

1.2 Conventions and terminology

For simplicity, we will generally adopt certain conventions for our games.

For most of the course, we will assume our games are short, so that during play, no position will repeat, and only finitely many positions can be reached. This will guarantee that all games end in a finite number of moves. Note that there can be no ties or drawsAlthough tie and draw are generally considered synonyms, in combinatorial game theory they are sometimes distinguished in the following way: a tie is a position that is declared to have no winner, such as a stalemate in Chess, while a draw is a situation in which play will continue (i.e., “be drawn out”) indefinitely.since the game will always end and then the first player unable to move will lose.

A game is called impartial if the left and right options of any position are the same; otherwise we say it is partizan. For instance, Chess is a partizan game since only one of the players is allowed to move the white pieces. The most important impartial game, Nim, will be introduced below.

1.3 Fundamental examples

We now introduce some rulesets that will frequently occur as examples in this course. All of these adhere to the conventions described above, including the normal play convention (which we will tacitly assume).

Throughout the course, we will introduce a number of different games to illustrate various concepts. Whenever a new game is introduced, it is usually worth trying to play a few sample games, either with a friend or against one’s self, in order to get a feel for how the game works.

These games all also have the interesting property that the game often breaks up into a collection of subgames such that a player can only play in one subgame at a time. This observation will turn out to be the key to developing a general theory later in the course.

1.3.1 Domineering

The game Domineering is traditionally played on a chessboard with a set of dominoes, but it can also easily be played on graph paper.

Rules for Domineering

  • The initial position is traditionally a square or rectangular chessboard, but any subset of squares can also be used.

  • A turn for Left=Vertical (resp. Right=Horizontal) consists of placing a vertical (resp. horizontal) domino on two uncovered squares of the board.

1.3.2 Hackenbush

The game Hackenbush is most easily played on a chalkboard or whiteboard with multiple colors.

Rules for Hackenbush

  • The initial position consists of a graph, that is, a set of nodes (called vertices), some of which are connected by arcs (called edges). Each edge is colored either blue, red, or green. Some nonempty set of vertices is designated to be on the ground.

  • A turn for Left=bLue (resp. Right=Red) consists of deleting either a blue (resp. red) edge or a green edge. Once the edge has been deleted, any vertex or edge that is no longer connected to any ground vertex by a sequence of edges is also deleted.

Sometimes we may refer to Red-Blue Hackenbush or Green Hackenbush if we wish to allow only edges of the specified colors. Note that Green Hackenbush is an impartial game.

1.3.3 Nim

The game Nim is the most important example of an impartial game. It is also the only one of the three games introduced here that can be said to be “solved” in any reasonable sense.

Rules for Nim

  • The initial position consists of several piles of (identical) stones, or equivalently, a collection of positive integers denoting the number of stones in each pile.

  • On a player’s turn, she chooses a single pile and removes at least one stone from it.Removing all stones from a pile is allowed, in which case that pile disappears.

3̲5̲7̲ →3̲5̲1̲ →̲5̲1̲ →̲2̲1̲

1.4 Why study it?

From my perspective, there are two main reasons to study combinatorial game theory. The first, naturally, is to study combinatorial games. Note that one is unlikely to be able to fully analyze a complex game using this theory: for instance, Checkers, Chess, and Go have approximately 1020, 1047, and 10171 positions, respectively. However, many games can have special situations or smaller pieces of large positions that are amenable to study from a mathematical perspective. In fact, one of the original motivations for much of this theory was the desire to understand certain endgames in Go.

The second reason is to see how a rich mathematical framework can be developed. In this course, we will see how one can start from first principles and build a theory that has actual applications in actual combinatorial games. In this sense, this course can be seen as somewhat similar to a course in foundational mathematics, in which one might learn how to construct the standard number systems that we are so familiar with. But this familiarity can sometimes be a hindrance when trying to learn things from first principles since it is easy to confuse what you know about numbers with what you have proven about them. The hope is that combinatorial game theory is sufficiently unknown and interesting that you will be able to derive a new appreciation of how mathematical theories are constructed.

1.5 Necessary background

The main requirement for this course is a familiarity with the language of mathematics. I will assume that you are comfortable with basic notions such as sets and mathematical induction, as well as reading and writing mathematical proofs. We will be starting off slow, but things will pick up relatively quickly, so do feel free to come talk to me about your preparation if you’re a bit worried about it.

Since we will be working from first principles, there is not much of a prerequisite in terms of subject material. However, any courses you have taken in abstract algebra, combinatorics, set theory, or real analysis will lend useful analogies and therefore be helpful to various extents.

1.6 References

Most of the content of these notes will be taken from the following sources.

The main text for the course is the textbook Lessons in Play by Albert, Nowakowski, and Wolfe. This is a relatively new text, but one of its main advantages is that it is structured more like an undergraduate textbook than many of the references listed below, so I thought it most appropriate for our purposes.

The standard reference on combinatorial games is Winning Ways for Your Mathematical Plays by Berlekamp, Conway, and Guy, written in a conversational style. Originally consisting of two volumes but later split into four, this book is the main reason that combinatorial game theory is a subject today. Most of the material from Lessons in Play can also be found in Volume 1 of Winning Ways.

Later in the course, we will see how the theory of games leads naturally to the construction of surreal numbers, an extension of the standard number system. The standard reference for surreal numbers is On Numbers and Games by Conway. As suggested by the title, it also contains a wealth of information of combinatorial games, though much of it is also covered in Winning Ways. Be warned: ONAG can be a bit difficult to read for the novice mathematician.

For some interesting research articles, see the collections Games of No Chance 1–5. Published by the Mathematical Sciences Research Institute (now the Simons Laufer Mathematical Sciences Institute), these collections are almost entirely available to read for free online (1, 2, 3, 4, 5). For those wishing to continue to study the subject after the course is over, a recent text at the graduate level is Combinatorial Game Theory by Siegel, though reading it requires a great deal of mathematical maturity.