The Play Seam · a picture game with exact arithmetic inside it
Worth Half a Move
Blue chops blue edges. Red chops red ones. Anything cut loose from the ground falls. Whoever cannot move loses. That is the whole rulebook, and it is enough to make a position worth exactly one half of a move, a fraction you can play against.
The game is Hackenbush, and the thing it does that no chess engine does is this: its positions do not get scores. They get numbers. Not "Blue is a little better here" but "this picture equals 1/2, and 1/2 is a number, so two of them equal one whole free move, and one free move for Red cancels them dead."
Below is that sentence made playable. Three stalks: two of them worth 1/2 each to Blue, and one lone red edge worth exactly one move to Red. The fractions sum to zero. A game worth zero is one where the player who moves first loses, and you can spend as long as you like failing to break that.
Added 18 November 2026: a reader for any position, typed (BRBBR) or drawn, in any of the three colours (section 6); up, the positive game smaller than every positive number (section 7); and a proof that no two stalks are worth the same (section 8). Sections 1 to 5 are as they were.
1. Lose on purpose
The certificate · 1/2 + 1/2 + (−1) = 0
You play Blue. Chop a blue edge by clicking it. The engine plays Red perfectly: it decides by game-tree search, so it never errs.
Your move.Chop any blue edge.
Games so far: none.
Nothing about that board is a heuristic. Every line has been searched to the end. Here is the complete refutation, recomputed in your browser: each of the five opening moves either player can make, and the reply that kills it. Read any row left to right and it ends with somebody out of edges.
You can count what the ears hear. listen.mjs (with spine.mjs beside it, and ffmpeg) is given only those rules and no position, move or verdict. From the delivered file it hears every move of all 89 games, and this page’s own engine, given what it heard, this page’s positions and the film’s rule for where its green edge goes (chopped, a green edge sounds just as an edge of the chopper’s colour does), rebuilds every board, finds every move legal and every line perfect play by a search that uses no values, and gives each price that search’s verdict, which both of its games agree with: the walks spell BR (1/2), B (1), BRBBR (13/16) and, with a green edge on top once whoever moves first wins, BRRG, the stalk the reader says the orchard is worth; up gets Blue’s verdict at nothing and Red’s at every price to 1/16,777,216. The film’s own gate also runs it on two control soundtracks this page does not serve: with the ears swapped it hears every move in the other ear and the engine refuses every game, and with one move of BRBBR’s walk played badly the engine’s search finds that move losing where a winning one stood, though read from the lines alone the walk would have stopped at 3/4. The comparison with this page’s numbers is made by
research/worth-half-a-move/film/film-facts.mjs, since listen.mjs never sees them.2. Where the half comes from
A single blue edge on the ground is worth 1: it is one free move for Blue, and Red can do nothing about it. Two stacked blue edges are worth 2. Now put a red edge on top of a blue one. Red can chop the top and leave Blue a whole edge. Blue can chop the bottom and take the red one down with it, leaving nothing. So the position is somewhere strictly between 0 and 1, and Conway's simplicity rule says: it is the simplest number that fits, which is 1/2.
That is not a metaphor and not a rounding. Add red edges and the value halves each time. Every row below is computed here, now, by exhaustive recursion over the position's own game tree, with the value at each node chosen by the simplicity rule. No table is hardcoded.
| stalk | picture | tree value | sign rule | agree |
|---|
3. "Those are just engine evaluations"
This is the reasonable objection, and it is wrong in a specific, checkable way. A chess engine's +0.5 is a guess calibrated against outcomes; it does not obey arithmetic. You cannot glue two +0.5 chess positions together and get a won game, because the concept does not survive addition.
Hackenbush values do. They are exact, they are additive, and the map runs backwards: name a fraction and the board that equals it can be built from the digits of the fraction. The rule is due to Berlekamp (published as "The Hackenbush number system for compression of numerical data", Information and Control 26 (1974) 134-140, and restated in Winning Ways), with an equivalent stepwise form due to Thea van Roode. The code on this page implements van Roode's stepwise halving, the signed-binary form stated here. Read a stalk from the ground up: the bottom run of same-coloured edges counts ±1 apiece, and from the first colour change onward each edge adds ±1/2, ±1/4, ±1/8 and so on, taking its sign from its own colour.
The sign rule, run backwards
Anything of the form p/2k, or a whole number. Try 1/3 and watch the instrument refuse rather than fudge.
4. The workbench
Here is where the claim stops being a claim. Build any board you like out of stalks. The page reads each stalk's value off the sign rule, adds the fractions, and predicts the winner independently of the search. A game-tree search on the combined board reports the outcome under perfect play. Try to make them disagree.
Assemble a board · arithmetic and search, independently
Prediction record on distinct boards you have built: 0 for 0.
The prediction is not fitted to the search. It comes from a linear-time read of the colours, the search decides by following legal moves through the game tree, and they are computed by different code paths in this file. The record above only goes up.
5. One green edge, and the numbers stop
The second objection is better: fine, but this is bookkeeping. Values that behave like numbers because the game was rigged to make them behave like numbers.
So un-rig it. Paint an edge green: either player may chop it. One green edge, alone on the ground, is a game where whoever moves first takes it and whoever moves second is stuck. That position is not positive (Red does not lose it when moving first), not negative, and not zero. It is called star, written ∗, and its relation to 0 is the fourth one: it is confused with 0, incomparable, off the line entirely.
And yet it is not chaos. Star obeys arithmetic of its own: ∗ + ∗ = 0 exactly. The literature calls it infinitesimal: smaller in absolute value than every positive number, while being neither positive nor negative. This instrument does not prove that universal statement. It tests it, one game-tree search at a time, down to 1/1024, and the rows below are those searches, run when the page loaded and again when you press the button.
| board | picture | search says | which means |
|---|
Row three and row four are the squeeze. Star loses to every positive number these searches reach and beats every negative one, so any numeric value consistent with these searches would have to lie within 1/1024 of 0. Those finite bounds alone do not force it to be 0. Row one shows that star is incomparable with 0, so it cannot be a number. There is no contradiction here, only a discovery: the values of games form something larger than the number line, and the numbers are the part of it that happens to be totally ordered. That larger structure is where Conway's surreal numbers and the rest of combinatorial game theory live.
One more, because it closes a circle. Make every edge green and Hackenbush stops being partizan altogether: a green stalk of n edges is just a Nim heap of size n, and the winner is decided by the XOR of the heap sizes.
| heaps | picture | XOR | predicted | search | agree |
|---|
6. Read any position
Everything so far has been stalks, because a stalk's value can be read straight off its colours. But Hackenbush is played on any drawing: trees, cycles, edges that meet the ground at both ends, all three colours at once. The rules do not change, and neither does the claim. Every position, however it is drawn, has an exact value, and the value says who wins.
So here is a reader. Type a position or draw one, and it works the value out from the position's own moves: every edge either player could chop, what that leaves, and what each of those is worth, all the way down to the bare ground. Then it reduces the result to its simplest form and shows each step. Then, separately, it decides who wins by searching every line of play to the end with no values at all, and says whether the two agree.
It is not the only reader. CGSuite, the standard program for this mathematics, added Hackenbush on graphs in its 2.2 beta (its class game.graph.Hackenbush), and in October 2026 sen-ltd described a browser page that computes the same canonical values for drawn positions, with a perfect opponent. This one shows its working on the page: every reduction step, a second verdict from a search that uses no values, the single stalk with the same value when there is one, and the difference game that proves it.
The reader · any position, blue, red and green
A stalk from the ground up (B, R, G), several stalks with +, or edges such as 0-1G 1-2B 2-0G, where 0 is the ground. Or draw below.
Drag up from the ground, or from any joint, to draw an edge in the chosen colour; drop it on a joint to join the two. Tap an edge to repaint it, or with erase, to remove it. Anything not joined to the ground has already fallen, and is drawn faint.
Value and search on the distinct positions you have read here: none yet.
How to read an answer. A number (13/16, −3/2, 2) is how many free moves the position is worth to Blue, or to Red if it is negative. ∗, star, is the lone green edge of section 5, and ∗2, ∗3 are green stalks of that length. ↑, up, and ↓, down, are the subject of section 7. Values written side by side are added: 1/2∗ is 1/2 plus star. Anything with no shorter name is written the way the theory writes every game, { Blue's options | Red's options }, and for many positions with green in them that is the only name there is.
The reduction uses two theorems of Conway's, each a reason a perfect player can ignore a move. A move dominated by another of the same player's moves is never better, so it is struck out. A move that is reversible invites an answer that leaves the opponent at least as well off as before, so it is really a move to wherever the first player can go after that answer, and is replaced by those. When neither applies, what is left is the position's canonical form, and it is unique: two positions are equal exactly when their canonical forms are the same. That uniqueness is what lets the reader say "the same value as" at all, and what section 8 stands on.
7. Up: positive, and smaller than every positive number
Put a blue edge on top of a green one. Blue may chop either edge; Red may chop only the green one, and that takes the blue edge down with it. Read that stalk above and it is worth ↑∗; set one more green edge beside it, worth ∗, and since ∗ + ∗ = 0, the pair is worth ↑, called up.
Up is positive: Blue wins it, whoever moves first. And it is smaller than every positive number. Set it beside a red stalk worth −1/2k, as small as you like, and Red wins, whoever moves first. Move the slider. Every verdict in the last column is reached by search alone, here, with no values used.
| board | what it is | value | search alone says |
|---|
So up is not a number. It is bigger than zero and smaller than everything positive this page can build, and it does not behave like a very small number either: up plus star, the stalk on its own, is confused with zero (row three), yet two ups and a star are positive (row five). Two ups beat a star; one does not.
Nor is up the value of any stalk. Section 8 shows that a stalk worth a value born on day n has exactly n edges. Up is born on day 2, and the nine stalks of two edges are worth 2, 1/2, 1∗, −1/2, −2, −1∗, ↑∗, ↓∗ and ∗2. Up is not among them, which is why the picture above uses two pieces. Two ups fit in a single piece (the blue edge on two parallel green ones, among the examples above). The engine found no single piece of four edges or fewer worth exactly up, among all 33,108 such drawings with their joints numbered (a piece being a drawing that does not fall apart into separate parts when the ground is taken away), and it did not search five.
8. No two stalks are worth the same
Berlekamp's rule makes a promise about blue-red stalks: each one has its own value, and every dyadic fraction has exactly one stalk, which section 3 builds. With green in the mix there is no such rule. Most stalks with a green edge in them are worth something with no everyday name: at length ten, 56,490 of the 59,049 stalks are. So it would not have been surprising if two different three-colour stalks had landed on the same value.
They never do. Counted by the offline checker, every stalk to length ten:
| edges | stalks | different values | numbers | a number and a nimber | with ups | no shorter name | counted again here |
|---|---|---|---|---|---|---|---|
| 1 | 3 | 3 | 2 | 1 | 0 | 0 | – |
| 2 | 9 | 9 | 4 | 3 | 2 | 0 | – |
| 3 | 27 | 27 | 8 | 7 | 4 | 8 | – |
| 4 | 81 | 81 | 16 | 15 | 8 | 42 | – |
| 5 | 243 | 243 | 32 | 31 | 16 | 164 | – |
| 6 | 729 | 729 | 64 | 63 | 32 | 570 | – |
| 7 | 2,187 | 2,187 | 128 | 127 | 64 | 1,868 | – |
| 8 | 6,561 | 6,561 | 256 | 255 | 128 | 5,922 | offline only |
| 9 | 19,683 | 19,683 | 512 | 511 | 256 | 18,404 | offline only |
| 10 | 59,049 | 59,049 | 1,024 | 1,023 | 512 | 56,490 | offline only |
"With ups" means a number plus some ups, perhaps with a nimber as well, like 1/2↑∗. The columns are counts of stalks; since no two stalks share a value, they are counts of values too. This table is the one thing in sections 6 to 8 that is stored rather than computed when you look, because lengths 8 to 10 take the checker a few seconds and your browser longer; the button recounts the first seven.
And it is not luck at that size. It holds for every stalk, and the proof is four steps, two of them short strategies you could play on the board. It goes by induction on the number of edges: assume two things of every shorter stalk (both are clear for the empty one), namely (a) every option in the canonical form of its value is the value of one of its own lower parts, cut at an edge that player may chop, and (b) its value is born on the day equal to its number of edges. Then for a stalk of n edges:
- Its options are its own lower parts. Chopping edge i (counting from the ground, starting at 0) leaves the first i edges, so the raw options are lower parts. Reducing to canonical form only strikes options out, or replaces one option by the options of one of its options; by (a), applied to the shorter stalks involved, those are lower parts still, cut at an edge the same player may chop. So (a) holds for this stalk too, at every stage of the reduction and in the canonical form at the end.
- Chopping the top edge is never outclassed. Suppose Blue may chop the top edge and also some edge j lower down. Could chopping at j be at least as good for Blue? Test it the way the theory tests everything: set the first j edges beside a copy of the stalk without its top edge, with the copy's colours swapped, and let Red move first. Red chops edge j of the copy, which Red may chop there, and what is left is the first j edges beside their own swapped copy: worth zero, with Blue to move, and Blue loses. So no. By step 1 this covers every option Blue holds at any stage of the reduction. (For Red, swap every colour in the argument.)
- Chopping the top edge is never undone. After Blue chops the top edge, could Red answer with a move that leaves Red at least as well off as the whole stalk did? By step 1 Red's answers are lower parts, cut at an edge Red may chop. But Red could have made that same cut on the whole stalk directly. Set the whole stalk beside a swapped copy of that lower part and let Red move first: Red makes the cut on the whole stalk, leaving the lower part beside its own swapped copy, worth zero with Blue to move, and Blue loses. So the whole stalk is not at least as good for Blue as that lower part, which is exactly what an answer that undid the top chop would need. So no. (Red's top chop, answered by Blue, is the same argument with the colours swapped.)
- So the value remembers the top edge. By steps 2 and 3 the stalk without its top edge survives every reduction, as Blue's option if the top edge is blue, Red's if it is red, and both if it is green. By (b) it is born on day n − 1, and every other option, a shorter lower part by step 1, is born earlier. A value is born on the day equal to the height of its canonical form (neither reduction ever makes a game tree taller, so the canonical form is the shortest form there is), so this value is born on exactly day n: that is (b) for this stalk. And its only option born on day n − 1 is the stalk minus its top edge, on the side or sides its colour allows. Read that off, take that option, repeat: the value spells out its stalk from the top down. Two stalks with the same value spell out the same stalk.
The reader uses step 4 backwards. When it says a position has "the same value as the single stalk" of some colours, it found that stalk by spelling it out of the value, then built the stalk forwards and checked that the two values are identical. When the spelling fails or the check does, it says no stalk has the value, and by step 4 none does.
Where this stands. In 2021 Carvalho, Huggan, Nowakowski and Santos, noting blue-red-green strings as a special case of a game of their own, wrote: "It seems clear that the values of the strings are unique but we do not know of a proof" (Integers 21B, #A5, p. 23, the paper this page already cites for the sign rule). In 2023 Fisher, McKay, Milley, Nowakowski and Santos remarked that a string of n edges being born on day n is "not particularly difficult to prove", and gave no proof (arXiv:2306.07232, p. 21); that is the birthday half of step 4. In October 2026 sen-ltd reported computing all 797,160 stalks of up to twelve edges and finding no two with the same value, which reaches further than this page's census. And in 2015 Neil McKay announced a way "to recognize Red-Blue-Green Hackenbush strings" from their values (an abstract for the Canadian Mathematical Society's summer meeting). Kyle Burke's summary of that talk, on his combinatorial game theory blog, describes reading a stalk off a value from the bottom up, chopping off the bottom edge each round; if each round can come out only one way, that gives the same uniqueness by another road. McKay's 2016 thesis may prove it, and we could not read it, because its repository turns this project's reader away. The four-step proof above was written for this page, and we have not found a published one. A separate reading inside this project, by an agent that did not write it, found the argument correct; nobody outside the project has checked it yet. The checker tests what each step concludes (steps 2 and 3 together) on all 88,572 stalks to length ten, so a counterexample to any of them would need more than ten edges.
The check, and every free choice in it
Apart from the census table in section 8, which was counted offline (its button recounts the first seven rows here), nothing on this page is a stored table. The numbers below, for sections 1 to 5, were recomputed in your browser when it loaded, by the same two routines the offline verifier uses: exact alternating game-tree search, and values by the simplicity rule. All arithmetic is an integer numerator over a power-of-two denominator, so the tolerance on every equality claimed here is exactly zero.
| recomputed here | result |
|---|
The free choices and the honest limits, named:
- Normal play. A player with no legal move loses. Misère Hackenbush, where that player wins, is a different game and none of these values carry over to it.
- Blue is Left is positive is a convention. Swap the colours and every value on this page negates. Nothing depends on which way round it is.
- Stalks only, in sections 1 to 5. Those instruments build strings of edges, so "everything above the cut falls" is visible. Hackenbush on general graphs is legal and much harder: computing the value of a general Red-Blue Hackenbush position is NP-hard (Winning Ways ch. 7, pp. 189-227, by reduction from minimum Steiner tree via positions called redwood beds, as summarised in Demaine and Hearn's survey). The cited result is stated for the value. The reader in section 6 takes graphs anyway, with no shortcut: it searches every position a drawing can reach, which is why it stops at 60,000 positions and asks before going on (to 600,000) rather than guess. What sections 6 and 7 say about graphs rests on that search and on the checks named below, not on any rule.
- Finite boards give the dyadic rationals and nothing else. Not 1/3, not √2. That is why the instrument refuses 1/3 instead of approximating it. The other reals and the ordinals are reported in the literature to need infinite boards; this finite instrument neither builds nor checks those, and this page makes no claim about them beyond the citation.
- The instruments in sections 1 to 5 do not compute values for green boards, so those sections print no fraction for a board containing green edges. (The reader in section 6 does, because a canonical form exists for every game that always ends and has finitely many positions, number or not: that is how it can say a green board is worth ∗, ↑∗ or {0, ↑∗ | 0}.) Some such boards have numeric values: two separate green edges have value 0. Star is confused with zero, not equal to, greater than, or less than it. The value routine here asserts that max(Left options) < min(Right options) at every node before applying the simplicity rule; it refuses boards containing green edges before reaching that assertion.
- Node counts are implementation detail. The "states settled" figures come from a memo keyed on a canonical board string, so they measure this program, not the mathematics. The outcomes they certify are not implementation-dependent.
- Attribution, carefully. Hackenbush is Conway's invention. The sign rule for strings is stated in Winning Ways vol. 1 (pp. 77-78, per Hammer's thesis, which cites the volume and also gives van Roode's stepwise version). We did not read Winning Ways or On Numbers and Games directly; every claim about their contents here is second-hand, taken from the sources listed below, and nothing on this page depends on it, because the rule itself is machine-checked against exhaustive game trees for every stalk up to length 12.
Run the whole thing yourself: node research/worth-half-a-move/verify-worth-half-a-move.mjs (52 checks, no dependencies, exits 0) for sections 1 to 5, and node research/worth-half-a-move/verify-the-reader.mjs for sections 6 to 8: it imports this page's own engine, hackenbush.js, and holds it to the bare definitions, to search alone on every stalk to length 7 and on 2,343 fixed positions, to equality tested by its definition, to each step of section 8's proof on all 88,572 stalks to length 10, and to the figures this page prints; with --mutate it plants five faults in a copy of the engine and must catch each. It also compares the engine, position by position, with a second program written separately in Python from the definitions alone.
What is proved here, and what is only demonstrated
Proved, for the specific boards you touch. Every outcome shown is decided by an exact game-tree search: no depth limit, no evaluation function, no sampling. When the page says "second player wins", it has checked every first move and found a winning reply to each, and checked every reply to those, down to positions where the player to move has no legal move.
Proved, for a large finite family. The offline verifier confirms the sign rule against the game tree for all 8190 blue-red stalks of length 12 or less, finds all 8190 values distinct, confirms every denominator is a power of two, and confirms the fraction to string construction inverts the rule on all of them. It also confirms that the sign of the value predicts the winner on all 560 three-stalk boards built from stalks of length 3 or less.
Demonstrated, not proved here. That the values always add, for every board, is a theorem about disjunctive sums of games (the sum of games is a group operation, and numbers behave as numbers inside it). This page checks it on whatever boards you build and on a fixed battery offline, which is evidence rather than proof. The general proof is in the sources.
Proved, for every stalk (section 8). No two stalks of blue, red and green edges have the same value, and a stalk can be read back off its value. The argument is written out in section 8 and is ours; the offline checker tests each of its four steps on all 88,572 stalks to length 10.
Computed exactly, for the boards you read (sections 6 and 7). The reader's values come from every move of every position a drawing can reach, with no depth limit. Each one is then checked against an exact search that uses no values, whenever the whole position has 30 edges or fewer and that search finishes within 400,000 positions; the search settles who wins, which is what the value predicts, not the value itself. When the reader says two things have the same value it has compared their canonical forms, which by uniqueness is the same as equality, and its "Prove it by play" button sets up the definition itself: one beside the other with its colours swapped, which search alone then finds lost by whoever moves first. Neither compares pictures.
Not attempted. Infinite boards, and therefore the reals, the ordinals and the genuinely surreal numbers. Temperature theory (no value the checker met is hot, which is an observation, not a proof). Misère play.
Corrections
Corrected 2026-10-01: The page said a board containing a green edge could not have a numeric value. Two separate green edges have value 0: star plus star equals zero. This instrument does not compute values for boards containing green edges; found by the assay line, 2026-10-01.
Corrected 2026-10-01: The description and markdown body said there were 50 offline checks. The verifier runs 52; found by the assay line, 2026-10-01.
Corrected 2026-10-01: The page said van Roode's stepwise halving was a different computation from the code here. The code implements van Roode's stepwise halving, as described in Hammer's thesis, p. 38; found by the assay line, 2026-10-01.