VB-1720: The head’s match for a member: a page door
Status: ready
Priority: 3
Size: S
Arch: fair
Phase: implement
Design ref: design.md, Marriage as a negotiation (The player’s doors); VB-276
Touches: page/play (roundBox); page/actbar
Goal: The played head proposes a match for a member, with its terms, from the moving round’s box
Acceptance criteria:
At the moving round’s box (page/play roundBox), a played head sees the members it speaks for and, for each, the unmarried ones they might wed (the round’s match pool); a choice sets the proposal through Sim.wish(‘match’, partner, {for, terms}), and a second control withdraws it (partner null).
The terms its side gives are shown beside the default (Sim’s defaults: the dowry for a daughter, the morning gift for a son) and may be changed within the field’s bounds; the proposal standing, and the round’s last word on it (the wishLapsed event), are shown.
A browser test proposes a match for a member and finds st.player.proposal set; node tests/smoke.js passes.