VB-1121: The player is the line: it goes on as the successor the customs name, at its pawn’s death
Status: done (2026-11-19)
Priority: 1
Size: M
Arch: life
Phase: implement
Design ref: Vision and scope (Player role; Which pawn); The player and what they see (After a death); Starting a game (Whom to play); Inheritance (Succession; Handover and shares)
Goal: The player follows its line by the customs of its village, from each death to the successor.
Decided (Kim, 17 and 18 November 2026, after the playtests of 16 November):
The player is the line, not the person and not the farm. It changes pawn only at its pawn’s death (Kim, 18 November; was, 17 November: at the handover): a pawn whose farm passes on in its lifetime is played on, retired.
The successor is the one the inheritance customs name (patrilineal, matrilineal or other, as the village’s customs have it), worked out beforehand and not chosen from a list.
Succession applies to every played pawn, landed or not.
The line, not the holding: where the farm goes to the widow under the customs, the successor is still the child.
A successor who is a child is played as a child; a child may be played wherever the player takes a pawn, the same rule in each place.
With no successor the game ends, and the player is shown the end-game summary.
A successor who refuses the inheritance is still the successor: the player plays it without the farm.
At the played pawn’s death the game pauses and shows whom the player now plays.
Acceptance criteria:
One function of the simulation names a pawn’s successor, successorOf(st, id), for any pawn, with or without a holding: the first of its line by the inheritance customs in force in its village (who can inherit, which child, a daughter’s place, an heir to their own parents’ farm), read from the rules heirRanking (src/sim/heirs.js) ranks by, but for the person and not for a household: the widow’s right to the farm does not make her the successor, and a successor’s own refusal, a larger farm of its own or being passed over for the holding (VB-824) does not unmake it. The notes say how far the line reaches when a pawn has no child (by the customs’ order: the same ranking a farm of its would follow), and where it ends.
It is worked out beforehand, whenever asked: the played pawn’s sheet shows “After you: Jon Gunnarsson, your eldest son, by Asklunda’s custom”, and a change of it (a birth, a death, a change of custom) is told.
In life nothing changes whom the player plays: when the played pawn’s farm passes on (the heir takes over on marrying, the holder at 60, VB-824’s offer when it lands), the player plays on as the same pawn, retired on the farm. A test holds it.
At the played pawn’s death the game pauses and shows whom the player now plays: its successor. The list to choose from (#succession, src/page/play.js; successors, src/sim/opportunities.js) goes, and Sim.succeed takes the successor.
A child successor is played as a child: its sheet says what a child may do, who holds the farm meanwhile (the widow for life, kin in trust) and until when. One rule of who may be played, read wherever the player takes a pawn: Whom to play at the start (src/page/choose.js, today “Children are shown, and cannot be played”) follows it too, so a child may be chosen there.
With no successor the game ends: the run stops, the break in the line is recorded, and the end-game summary is shown (the line’s pawns in order with their years, the farms held, the people and villages of the island at the start and at the end, from the record and the state; no invented score), with the way back to the main menu and to watching the island on. The summary is this task’s; decide its content by Starting a game’s principles and write it in the notes.
design.md is brought in line by this task (design changes decided by Kim), each row with the date and what it was: Vision and scope, Player role and Which pawn (Decided, 3 Nov: “the player chooses among the pawn’s kin …, the heir first; if none is alive, any adult”); The player and what they see, After a death (Proposed); Starting a game, Whom to play (Decided, 11 Nov: children cannot be played).
Checks on small constructed states (tests/tiny.js): a played holder whose heir marries under “when the heir marries” is still played, retired; a played holder dies leaving a widow who keeps the farm and a son of 10: the player is the son; under “daughters first” the eldest daughter; a played servant with a child dies: the child; a successor with a larger farm of its own refuses the inheritance and is still played; no successor: the game ends. A run with no player is unchanged (tools/same.js prints same).
st.player stays plain data (tests/plaindata.js, tests/saves.js); an ended game loads as ended.
Notes / questions:
19 Nov 2026 (done): successorOf (sim/heirs) reads the farm ranking’s own order (bloodLine, now shared with heirRanking) from the pawn, without the farm’s passing over; Sim.successor adds the link word. The line reaches as a farm’s would (descendants to four generations, siblings and theirs, parents’ siblings and theirs); past that it ends (close call, inbox). The ended line is st.player.ended (a time), set at the death or when the successor has died before the click; the player keeps the dead pawn, so an ended save loads ended; “Watch the island” lets it go.
The end summary: the line’s pawns (each “Played by the player” event) with years, farms they took over (‘inherited’, ‘claim’ events), the island’s living and villages at the line’s first play and now; no score.
A change of successor is told on the played pawn’s sheet (a status line), not as a toast: the sheet is where “After you” stands.
Found on the way: the map’s mark of a ‘call’ occasion (VB-1119) had no icon and threw each frame; it takes the meeting’s.
16 Nov 2026 (playtest, founders small seed 7, 80 years in the page): Ingeborg Torstensdotter handed Östergården to her son Jon when he married in year 33, under “when the heir marries”, and the player stayed in her, retired, for 14 years with nothing to decide, until she died at 74. After each death the page offered a list (the widow, sons of 10 and 7, three friends), with nothing to say what each choice meant. Under this task the player goes from Gunnar Olofsson to Jon, aged 10, in year 15, with his mother holding the farm for life; and a played holder who hands on still plays out its retirement, which is VB-1122’s to give a life. The headless playtest saw the same shape for a lone heir: 40 years unmarried with nothing to decide.
18 Nov 2026 (Kim, in the session): the five cases the first writing left open are decided as above (unlanded pawns; the child and not the widow; a child is played; no successor ends the game; a refusing heir is still the successor).
Weighed and not taken, by Kim’s decision: a free switch within the line at any time; going on as the heir at the handover; the choice among kin after a death; following the farm.
Principle 16: whom the player inhabits is not an act of a pawn, so no verb is added. A close call for the inbox: how far the line reaches for a childless pawn before the game ends.
One at a time with VB-824 (succession offered and taken up), which changes how a handover is made and answered; the successor does not depend on its answer. VB-1105 keeps the labels a notice shares with Whom to play, and its child label follows this task’s one rule. VB-788 (the player’s part in settling) and VB-827 read the played pawn as before.