2 General strategies

   2.1.  Winning strategies
   2.2.  Greed
   2.3.  Rope
   2.4.  Parity
   2.5.  Symmetry
     2.5.1.  Pairing
   2.6.  Strategy stealing

Although most combinatorial games tend to have certain unique aspects that make them interesting, there are a few general principles that can be applied in a variety of circumstances.

2.1 Winning strategies

Consider any combinatorial game under normal play with, say, Alice going first and Bob going second. We say a player has a winning strategy if they can win regardless of the moves the other player makes. A key theorem states that winning strategies exist.

Theorem 2.1 Consider a combinatorial game under normal play. Either Alice has a winning strategy going first or Bob has a winning strategy going second (but not both).

Proof. Since all of Alice’s options have fewer subpositions than the original game, by induction,Here we use the fact that we are considering short games, so all of the options of a game are strictly simpler than the original game. This prevents situations in which the game is drawn out indefinitely.Although we do not explicitly state the base case of the induction, the rest of the proof will automatically apply if Alice has no options, in which case Bob clearly has a winning strategy since Alice immediately loses.each of them either has a winning strategy for Bob going first or for Alice going second. If all of them have a winning strategy for Bob going first, then Bob has a winning strategy going second. Otherwise, at least one of them has a winning strategy for Alice going second, in which case Alice can win by choosing that option and playing that strategy thereafter.  

A similar argument shows that in games with ties, either Alice will have a winning strategy going first, Bob will have a winning strategy going second, or both players will be able to force a tie.

Note that because our games may be partizan and/or asymmetric, whether Alice has a winning strategy going second is completely independent of whether she has a winning strategy going first. This will be important in the next chapter when we talk about outcome classes.

2.2 Greed

In games with a score, such as Dots and Boxes, it seems at first blush to be a reasonable strategy to take all available boxes and then to leave the fewest number of boxes for one’s opponent. This is an example of a greedy strategy.

Definition 2.2 A greedy strategy is one in which a player always chooses a move so as to maximize a certain quantity related to the position after the next move.

For instance, in Dots and Boxes, one might want to maximize one’s own score minus the number of boxes available for the opponent to take. Similarly, in a game like Chess, one might want to maximize the total point valueTraditionally, Chess pieces are given point values of 1 for pawns, 3 for bishops and knights, 5 for rooks, and 9 for queens.of one’s own pieces minus that of one’s opponent’s pieces.

Although greedy strategies can often serve as useful heuristics, especially when one is learning a new game, they are usually not optimal in practice, as demonstrated in Example 1.1 or any Chess game containing a winning sacrifice.See, for instance, The Game of the Century.

2.3 Rope

Sometimes you may find yourself behind in a game or playing against someone better than you. In such situations, the Enough Rope Principle says that you should make moves that allow your opponent the greatest chance of making a mistake, either by making moves that give your opponent a large number of options or by leading the game in a direction that is more complicated or less familiar. This was employed, for instance, by Garry Kasparov in Game 4 of his famous Chess match against IBM’s Deep Blue in which he played the rare Mieses opening d3.The game ended in a draw.Conversely, if you are ahead or playing a weaker player, it is usually in your interest to make moves that limit your opponent’s options or follow familiar lines.

Example 2.3 The next time you are playing Tic-Tac-Toe, consider responding to an opening on the side with a move in an adjacent corner. This gives your opponent the maximum chance of making a mistake, as any of the three dotted moves by X can be converted into a win by O. (How?)

Example 2.4 In Dots and Boxes, there are two choices of where to play in a chain of length 2, called a hard-hearted handout (left) and a half-hearted handout (right).

If you need to play in this chain and you are in a winning position, you should always play the hard-hearted handout, as this prevents your opponent from declining the boxes, which could prove decisive. On the other hand, if you believe you are in a losing position, you might try the half-hearted handout in an attempt to force your opponent into making the wrong decision.

2.4 Parity

Since the players alternate moves, under normal play, the next person to play will win if there are an odd number of moves left in the game, while the previous person to play will win if there are an even number. Hence parity (whether a number is even or odd) can be an important concept in many games. For instance, it is parity that determines who will be the first to move in a long chain in Dots and Boxes.If the number of long chainsA long chain is a chain of length at least 3, since a chain must be at least that long to allow a player to decline the last two boxes without receiving a half-hearted handout.plus the number of dots is even, then the second player will be forced to be the first to move in a long chain, otherwise the first player will.

Example 2.5 A bar of chocolate consists of an m × n grid of squares. Two players take turns playing the following game. On a player’s turn, she takes one of the pieces of chocolate on the table and breaks it along a grid line into two smaller pieces.Under normal play, the game ends when all the squares of chocolate are separate from one another.Does the first or second player win assuming best play?

Solution. After every move, the number of pieces of chocolate increases by 1. Since the game ends exactly when there are mn blocks, there will always be exactly mn − 1 turns no matter what the players do. Hence the first player will win if mn is even, while the second player will win if mn is odd.  

2.5 Symmetry

If a player always has a response to any of her opponent’s moves, then she will necessarily win. Sometimes, she can ensure herself a move by using symmetry.

Example 2.6 Consider a game of Nim with two piles of sizes a and b. If a = b, then the second player has a winning symmetry strategy: however many stones the first player takes from one pile, he can take the same number of stones from the other to ensure victory. If a≠b, then the first player can win by using her first turn to make the piles equal and then following the same strategy.

Example 2.7 The game Cram is the impartial form of Domineering: in Cram, either player may play either a vertical or horizontal domino. If the initial position is an m × n rectangle with m and n both even, then the second player can win by always playing symmetrically across the board from the first player.

If m is odd and n is even or vice versa, then the first player now has a symmetry strategy: she can begin by playing in the center domino and then play symmetrically across from the second player thereafter.
When both m and n are odd, there is no obvious symmetry strategy, making the game more interesting.

Although playing symmetrically can be tempting for amateur players, in most complicated games it is not a good idea, usually because at some point it will be impossible to continue the symmetry strategy (and also because it is well known and therefore so are techniques for refuting it).See, for instance, mirror go.

2.5.1 Pairing

As a slight variant, sometimes one can find a pairing strategy in which possible moves are paired in such a way that if one’s opponent plays one of the moves in the pair, then one can play the other move in the pair. Note that playing symmetrically is a special case of this in which the symmetric moves are paired together.

Example 2.8 Two players take turns placing X’s and O’s on a rectangular board in the usual way. A player wins if she manages to fill a 2 × 2 square with four of her own symbol. If the board fills up without anyone accomplishing this, the game ends in a tie. Who wins assuming optimal play?

Solution. Imagine covering the board with dominoes in the following pattern.

Any 2 × 2 square on the board contains one of these dominoes. Hence you can employ the following pairing strategy: if your opponent just played in one of these dominoes, play the other square in that domino if it is available, otherwiseHere otherwise means on the first move of the game, or if your opponent played in a non-paired square, or if you have already filled the other square in that domino on a previous turn.make a move at random. Using this strategy, you can prevent your opponent from getting both squares of a domino and hence from completing a 2 × 2 square. Therefore you can force at least a tie.

But your opponent can employ the same strategy and therefore force at least a tie for himself! So this game will end in a tie assuming optimal play.  

2.6 Strategy stealing

Sometimes it is possible to show that one player has a winning strategy nonconstructively, that is, without saying what that strategy is. One way to do this is by presenting a strategy-stealing argument.

Example 2.9 The game of Chomp is played on a rectangular board, such as a chocolate bar divided into squares. The northwest square is poisonous and cannot be eaten. On a player’s turn, she chooses any square except for the northwest square and removes it, together with all the squares to the south and east.

We claim that the first player (Alice) has a winning strategy. Suppose not, so that the second player (Bob) has a winning response to any opening move by Alice. Let her make her first move in the southeast corner. Then Bob must have a winning response, say square x. But now the position looks exactly like it would have if Bob had gone first and played x as the first move. Hence Alice can just imagine that Bob went first at x and employ Bob’s winning response against him to win. This is a contradiction, so Alice must have a winning strategy.

The curious thing about this strategy-stealing argument is that it does not give any insight whatsoever into what the winning move actually is. In fact, an explicit winning strategy for Chomp is still unknown even for 3 × n rectangles.

Typically a strategy-stealing argument will only apply to games for which there is no disadvantage to having an extra move. This is because in order to be able to steal the strategy of the second player, it must be the case that the first player’s move can never make her position worse. Otherwise, the second player’s strategy may be good enough to win after the first player makes a move that hurts her but not good enough to win if he goes first before she has a chance to make that move. For instance, a strategy-stealing argument does not apply to Chess since there are situations known as zugzwangLiterally, “compulsion to move” in German.in which the player who has the move would rather pass than make any move, so a strategy-stealing argument does not apply.

One of the most famous examples of a strategy-stealing argument is the game of Hex.

Example 2.10 In the game of Hex, Left and Right take turns marking hexagonal cells on a rhombus shaped board. Left wins if she connects the left and right sides of the board with blue cells, while Right wins if he connects the top and bottom sides with red cells. (In the position below, Left has won.)

It was proven by mathematician John NashJohn Nash is best known for his work in economics (particularly classical game theory), which earned him a Nobel Prize. He is the inspiration for the Best Picture winner A Beautiful Mind.that the game cannot end in a tie.Proof sketch: Suppose the board has been filled, and imagine that the red cells (as well as the top and bottom sides) are land and the blue cells (as well as the left and right sides) are water. Starting at the bottom left corner, walk along the coastline clockwise. If you reach the right side without touching the top, then the water cells along the path show that Left has won, otherwise the land cells along the path show that Right has won.He also showed that the first player, say Left, has a winning strategy using a strategy-stealing argument.

If Left does not have a winning strategy, then since the game cannot end in a tie, Right must have some winning strategy. But then Left plays as follows. She begins by making an arbitrary move, and then thereafter she ignores that move and plays as if she were the second player using Right’s strategy. If she is ever required to play in a cell that is already colored blue, then she again moves arbitrarily. Since having an extra blue cell can only help her, she can successfully apply Right’s strategy to win. But this is a contradiction, so it follows that Left has a winning strategy.