Generator

Turning Turtles: a row of 12 coins

Turning Turtles: a row of 12 coins
Turning Turtles: a row of 12 coins. A row of coins, some heads and some tails. A move turns some of them over, and the rightmost coin turned must go from heads to tails — which is what makes the game end. The number under each place is what a lone head there is worth, and the row is worth the exclusive or of the places showing heads.

A row of coins, some heads and some tails. A move turns some of them over, and the rightmost coin turned must go from heads to tails — which is what makes the game end. The number under each place is what a lone head there is worth, and the row is worth the exclusive or of the places showing heads.

4 essays call coin-row. 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

9 distinct positions, harvested by running this generator again at the options each essay passed it.

PositionWorth OutcomeDrawn in
heads at 1, 2, 3, 4 of 12 0 P A row of coins is already a sum
heads at 1, 2, 3, 4 of 8 0 P The losing positions are a code
heads at 2, 4, 7 of 12 ∗8 N A row of coins is already a sum
heads at 2, 5, 8 of 8 ∗4 N The code names the move
heads at 1, 8 of 14 0 P A row of coins is already a sum
heads at 6, 9, 12 of 14 ∗7 N A row of coins is already a sum
heads at 3, 5, 6 of 12 0 P A row of coins is already a sum
heads at 3, 5, 8 of 12 ∗14 N The tartan theorem · A row of coins is already a sum
heads at 8 of 12 ∗8 N A row of coins is already a sum

Where it is called

Changing this generator changes every one of these figures.

The whole library · The position index · The figures that play back