Replace the public holdings checkbox with a holdingsVisibility select:
private, cash, cashAndShareCount or public. publicHoldings: true keeps
meaning full public, and normalized options store holdingsVisibility
only at the two new levels, so historical init logs are unchanged.
stripSecret shows opponents' exact cash from the cash level and adds a
total shareCount at the share-count level while per-chain holdings stay
hidden. Net worth and scores still need fully public holdings. The buy
step may skip for lack of cash whenever cash is public.
With limitedLog on, each player's view and log slices replace entries from
before the start of their last turn with placeholders, keeping the log's
length. The current turn, including a merger in progress, is always visible,
spectators see what the active player sees, and the full log is revealed at
game end. The viewer shows one note for each withheld run and holds replay at
the live position until the game ends (rules.md §13).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rules engine and viewer implementing the BGS Engine and Viewer APIs,
with tests, a local test page, registration guide and admin-panel
content.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>