Cram on 4 by 4
Cram is Domineering with the orientations shared: either player may place a domino either way up, so both players have exactly the same moves and the game is impartial. Every position therefore has a Grundy value, and this board's was computed by the mex rule over its own placements.
4 essays call
cram-board. The drawing above is what it returns with no arguments at all; every
call below passes it something, because a placement that passes nothing draws whichever
member of the family the generator happens to default to rather than the one its essay argues
about.
The positions it draws
11 distinct positions, harvested by running this generator again at the options each essay passed it.
| Position | Worth | Outcome | Drawn in |
|---|---|---|---|
1×1 |
0 |
P | Cram · Looking for the symmetry |
1×5 |
0 |
P | Cram · Looking for the symmetry · The strategy that is a symmetry |
2×2 |
0 |
P | Cram · Looking for the symmetry |
2×3 |
∗1 |
N | Cram · The strategy that is a symmetry |
2×4 |
0 |
P | Cram · Looking for the symmetry · The strategy that is a symmetry |
2×5 |
∗1 |
N | The strategy that is a symmetry |
3×3 |
0 |
P | Cram · The strategy that is a symmetry |
3×4 |
∗1 |
N | Cram |
3×4 with 1 domino placed |
0 |
P | Cram |
4×4 |
0 |
P | Cram · The strategy that is a symmetry · The symmetry one move away |
5×5 |
0 |
P | Cram |
Where it is called
Changing this generator changes every one of these figures.
Cram
Domineering with one word of the rule changed: both players may place a domino either way up. That makes the game impartial, and the entire partizan apparatus collapses into a single Grundy value — on the 4 × 4 board, Domineering's canonical form runs to 114 characters of nested braces and Cram's answer is the one character 0.
The strategy that is a symmetry
A pairing strategy is a symmetry of the board that turns one player's moves into the other's, and it wins without computing anything. Tested by playing it out rather than argued, it wins one of seven candidate symmetries across four games — exactly the Cram boards with both sides even, which is exactly where no domino is its own image.
Looking for the symmetry
Answering every move with its mirror image wins Cram on a board with both sides even, which is the argument everybody meets. Asked of every connected shape of at most eight squares instead of of thirteen rectangles, it wins twelve — and accounts for a sixth of the second-player wins there are, because 852 of the 1,042 shapes have no symmetry to answer with in the first place.
The symmetry one move away
A pairing argument proves the second player wins and names no move to do it with. Asked of every shape of up to eight squares it settles twelve boards. Asked one move later — can the first player reach a position a half-turn pairs? — it settles 288, and which boards those are is decided by parity before anything about their outline is looked at.
The whole library · The position index · The figures that play back