The opener cuts a loop only to take control
Assumes: A loop decides where the cut falls · A fork costs four, and a cross six
In the endgame of Dots and Boxes, one player has control: the other, the opener, must open each remaining component in turn, and the controller takes all but a few boxes of each and declines the rest, so as to be handed the next one. Two and four are not conventions traced the price of declining — two boxes for a chain, four for a loop — to the cut that completes each. A fork costs four extended it to stars, and a loop decides where the cut falls to trees and to components with a cycle, where it found a rule and a choice. The rule: the fee is two for every chain and four for every loop among the pieces the opener’s cut leaves. The choice: on a component with a cycle the opener decides where to cut, and on every component measured the opener cut outside the loops so as to leave them whole, since a loop costs the controller more than the chain it would otherwise become.
Every one of those components had a string outside its loops. That essay ended on the ones that do not, and on one where the opener has a string outside and a reason to look inside anyway. Does the pieces rule survive when the preferred cut does not exist? And does the opener ever cut in a loop?
The rule survives. And the opener does cut in a loop — but never to make the fee smaller. A loop cut is made only when it takes control away from the controller altogether, and when that cut exists the opener always makes it.
No string outside the loops
The plainest component with every string in a loop is a figure-of-eight: two loops sharing one box. As strings and coins, the shared box is a coin with four strings, two into each loop. On a real board it is two two-by-two blocks meeting at a corner box, which can occur whenever two small enclosures form side by side.
Every cut of every figure-of-eight costs six, from two loops of four to two loops of eight. The opener has no choice that matters, since every cut opens one loop and leaves the other, and six is exactly what the pieces rule predicts for what is left: the opened loop, now a chain running from the shared box round and back, is declined for two, and the surviving loop is declined for four. That the opened loop is still attached to the surviving one at the shared box changes nothing. The controller takes the chain down to its last two boxes, declines them, and when the opener has to open the remaining loop declines it whole.
So the first half of the question has a plain answer. The pieces rule does not need the opener’s preferred cut to exist. It needs only that the fee be read off what the actual cut leaves.
Two loops sharing two boxes
Two loops can share more than a box. Sharing two boxes in a row makes them three paths between two branching boxes — the two shared boxes are the branch points, and each loop is two of the three paths. Again every string lies in a loop.
With every path three boxes or longer, every cut costs six, as it did for the figure-of-eight. A cut in one path leaves the other two as a loop, with the cut path’s remains hanging from its two branch points, and the controller pays two for the chain and four for the loop. But the shapes with a short path behave differently, and all twenty-six of them behave the same way: the opener has a cut that keeps control. With three paths of two, cutting a path in its middle hands the opener the long chain.
That is the same boundary a loop decides where the cut falls found on trees: a piece shorter than three boxes is not a piece the controller can decline profitably, and a component with one does not hand control over. Here it reappears in a cyclic shape, and the cut that exploits it is a cut inside a loop — the first sign that the opener’s loop cuts are about control rather than about fees.
A loop with two tails
The sharpest test is a component where the opener has both kinds of cut available: a loop with two tails running to the ground. Cut a tail and the loop survives; cut the loop and it opens into a path joining the two tails. The pieces rule says a tail cut should cost eight — two for the freed tail, then six for what remains, a loop with one tail, which the earlier essay priced at two for its tail and four for its loop. A loop cut should cost less, since it turns the loop into chain.
A tail cut costs eight on every shape, as predicted. A loop cut costs four — on those cuts the pieces rule holds too, since the opened loop has become a chain between the two tails with a second piece hanging from it, two chains in all — and the opener never chooses four over eight. But on eight of the twelve shapes, some loop cut costs nothing at all for the opener: the controller cannot keep control at any price up to the size of the component. On those eight the opener cuts the loop, and takes the long chain.
The four shapes where it does not are the two-tailed loops with both tails on one box, and the loop of eight with its tails on opposite boxes, four steps apart. On every other separation the tails leave a stretch of loop between them of two boxes or fewer, and that stretch is where the opener cuts.
What the cut leaves hanging
Which loop cuts change hands can be read off directly, by counting what a loop cut leaves hanging: the boxes of loop between the cut and the nearest tail’s box, on each side.
The rule has no exceptions on the 232 cuts. A loop cut that leaves at most one box hanging on each side hands the opener control, all 60 of them. A loop cut that leaves two or more on either side costs four, all 172 of them. Nothing else about the shape — the loop’s size, the tails’ lengths, which of three or four, the separation — enters.
The reason is the same as on trees, seen from the cut. A hanging piece of one box, or none, is a capture available at once to whoever moves next, and declining it is impossible: there are not two boxes to leave. The controller, moving after the cut, takes what hangs there and is left to move in a component that is now a single path between two ground strings — and is now the player who must open it. A piece of two or more can be declined in the usual way, at the usual price, and the controller stays in control. A loop cut is a way of manufacturing short pieces, and the stretch between two tails is the only place a loop has them to give.
That also explains the shapes that stay safe. With both tails on one box, every loop cut leaves the whole loop hanging on one side or the other of that box — three boxes and none on a loop of four, five and two on a loop of eight — so there is always a piece of two or more to decline, and the controller keeps control at four. With the tails four apart on a loop of eight, the stretches on both sides hold three boxes, and no cut inside a stretch of three can leave one box or none on both sides of it. The rule is not about the loop’s size or the tails at all; it is about whether the loop has a stretch of two boxes or fewer between the places where it touches the ground.
Control changes hands
The line of play after the opener’s loop cut on the smallest such shape shows the reversal.
The opener cuts a loop string beside one tail’s box, leaving one box hanging on one side and none on the other. The player who had control can take that box and must then move again — and every remaining move opens something. The opener takes seven boxes, declines the last two exactly as a controller would, and the player who had control has to open the long chain. Twenty-one boxes to three, from a component the pieces rule would have priced at an eight-box fee in the other direction.
That is the size of what the rule’s choice was hiding. On the components the earlier essay measured, the opener’s choice was between losing a loop and keeping it, worth four boxes. Here it is between paying a fee and reversing control, worth the whole long chain. A player who has lost the control battle and has a loop with two close tails in hand has not lost it.
The pieces rule, checked against all of it
Every shape measured falls into one of two groups.
Wherever the controller keeps control, the fee at the opener’s best cut is the pieces rule’s: six for every figure-of-eight and every three-path shape with long paths, eight for every two-tailed loop whose tails are far apart. Wherever it does not, the reason is a cut that leaves nothing longer than one box hanging, and that cut is inside a loop on every two-tailed shape and on every three-path shape that has one.
So the answer to the question is two-sided. The opener never cuts a loop to change the fee: a loop cut that costs the controller four is always worse for the opener than a tail cut that costs eight, and no shape measured gives the opener a reason to prefer it. The opener cuts a loop exactly when doing so changes who has control, and then always. The fee arithmetic of four boxes for every chain after the first — two a chain, four a loop — covers every component here once the cut is chosen, and the only thing it does not cover is the possibility that there is no fee to pay.
Where the short pieces come from
The surprising connection is between this and the theory that decides control in the first place. Who has control at the start of the endgame is decided by the chains — a parity count of long chains, which the impartial game of strings and coins computes. That count treats a short chain as a different object from a long one, because a short chain cannot be declined. Every short piece in this essay is the same object appearing inside a component: two tails close together on a loop, or a short path between two shared boxes, are short chains in waiting, and the opener’s loop cut is what brings them out.
That raises the question the scoring game cannot answer by itself. The parts are worth nothing and the sum is not found long chains and long loops worth nought in Nimstring — strings and coins played as an impartial game, the game whose values decide who has control — which is why a position made of them leaves control where the parity count says. A loop with two close tails is not made only of long pieces. If its Nimstring value were nought anyway, the count would say the controller keeps control, and the scoring endgame would contradict it.
It does not happen. Every one of the 14 shapes the controller keeps is worth nought in Nimstring, and every one of the 34 shapes the opener can turn round is worth a non-zero nimber — ∗, ∗2, ∗3 or ∗4. The two games describe one fact twice. A shape whose value is not nought is one in which the player to move in the impartial game has a winning move, and the scoring endgame’s version of that winning move is the opener’s loop cut that leaves nothing longer than a box hanging. The long-chain count, which treats every component as worth nought, would misread a position containing one of these shapes — but the misreading is visible in the value, and a player who computes values rather than counting chains sees the reversal coming.
So the surprising thing is not that the pieces rule fails on these shapes. It is that the failure has the same boundary in two games built for different purposes: a scoring game that prices control in boxes, and an impartial game that only asks who moves last. On all 48 shapes the line between “control is kept, at the pieces rule’s fee” and “control changes hands” is exactly the line between nought and everything else.
The convention, and the measurement
Strings and coins, scoring: cutting the last string on a coin pockets it and obliges the cutter to cut again. Each component is opened in front of a long chain of fourteen; the player who opens the long chain loses it whole. The fee at a cut is half the difference between what the controller would net taking everything and what the controller nets in the solved game after that cut; where the controller cannot keep control at any fee up to the component’s size, the cut is reported as handing the opener control. A figure-of-eight is two loops sharing one coin; three paths are two coins joined by three paths of the stated numbers of boxes, at most one of them empty; a loop with two tails has tails to the ground from coins the stated number of steps apart. Hanging boxes are the coins of loop between a cut and the nearest tail’s coin on each side. Every number is an exact solution of the scoring game over every reachable set of strings, about a second for all of them.
What the solved components do not show
Whether the shapes are on real boards. Loops on a square grid have an even number of boxes, which is why only even loops are drawn, and figures-of-eight and two-tailed loops do occur; but nothing here counts how often, or whether the close-tailed shapes that reverse control survive to the moment control matters.
Why the two boundaries coincide. The agreement between reversal and a non-zero Nimstring value holds on all 48 shapes and is not proved. It is the kind of statement that should follow from how a scoring endgame inherits its control from the impartial game, but nothing here derives it, and a larger shape could break it.
Several components at once. Each shape is opened alone in front of one long chain. With several components left, the opener also chooses which to open, and a component that can reverse control is a resource whose best moment to use is a question about the whole board.
Still open: whether a value says how much reversal is worth
Every reversing shape here is worth a non-zero nimber, but the nimbers differ — ∗ on a loop of four with tails opposite, ∗4 on a loop of six with tails on neighbouring boxes — and the scoring endgame says nothing about why. In Nimstring a ∗4 and a ∗ differ in how they combine with other components; in the scoring endgame both simply hand the opener the long chain. The question that joins them is a board with two reversing components. The scoring endgame with two such shapes in front of a long chain asks whether the opener can reverse control twice, or whether the controller can use the second to reverse it back; the Nimstring count asks whether the two values cancel. If a pair of shapes with equal values — two worth ∗2, say — always leaves control with the controller, and a pair with different values always lets the opener reverse it, then the nimbers are not only a test for reversal but its arithmetic, and the game in every exercise book prices every component of this kind by a value, as the endgame theory hoped to price chains.
Part 11 of 11
One argument about Dots and Boxes. The parts either side of it:
The objects named here
The third axis, after the field and the series: the games, values and theorems themselves, and every essay that touches each one.
ComponentCountingDecompositionDots and BoxesEndgameExhaustive searchLoonyScoring gameStrategy
- A coin with three strings is worth something component, decomposition, dots and boxes, endgame, exhaustive search
- A thousand positions and no exception component, decomposition, dots and boxes, endgame, exhaustive search
- A list of shapes is an endgame table component, decomposition, endgame, exhaustive search
- What a component has to carry component, decomposition, exhaustive search, loony
- What can be struck out component, decomposition, exhaustive search, scoring game
- A compound of two different games component, decomposition, exhaustive search