The redesigned swap panel priced its initial Tower/Continental pair
before picking a real choice, so any buy step where the player held
shares and either chain was off the board threw and left the viewer
on "Loading game". Never price a chain off the board, and add a
browser check for such a position.
With the new disposal controls in the decision column, a merger at
1280x900 with touch-sized buttons ran 24px past the desktop gallery
limit. Narrow the desktop column and market gaps and the disposal
paragraph margins.
A placement that crosses a commit boundary mid-turn, such as a second
tile whose merger pays bonuses, now shows the same note as the merger
confirmations.
Buy panel: each chain row shows how many shares you own and what you will
own after this purchase, and a disabled "+" now says why (none left in the
bank, not enough cash, or the per-turn limit reached).
Stock swap panel: the selects say "you have N" and "bank has N" instead of
bare numbers, the quantity is a -/+ stepper with its maximum, the preview
spells out both legs with their values and the net payment, a live line
shows cash and both holdings after the swap, the confirm button states the
exact exchange ("Swap 2 Tower for 2 Continental · Pay $800"), and an
unavailable pair explains why (no swaps left, bank empty, not enough cash).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When the next move would end the turn (the buy, or a placement or decision
that passes the turn on), the viewer holds it back and shows this turn's
moves in plain language from the log (placements and their effects,
foundings, merger results and disposals, swaps), the pending move, the
cash and shares it leaves, and why it is final: ending the turn draws new
tiles, or the game ends and is scored. "End turn" sends it, "Back" returns
to the choice, and Undo steps back through the private draft from the
summary. Lines already saved before the last commit boundary are greyed.
A placement that would make earlier undoable moves permanent (a two-tile
turn whose second tile pays merger bonuses) gets the same review. A lone
placement that ends the turn keeps only its own placement confirmation, and
tutorials keep their single-step flow. Undo after the turn has committed is
still impossible: the end-of-turn draw reveals the next tile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Survivor choices are now selected first and sent with a confirm button
that names the takeover. The disposal step no longer treats keeping every
share as a default: Confirm stays disabled until the player picks Sell all,
a trade, Keep all or uses the steppers, and its label states exactly what
will happen ("Sell 1 for $200 and trade 2 for 1 Tower"). A live line shows
cash and both chains' holdings after the choice, and the defunct order
confirm lists the chains in order.
Commit boundaries are predicted with the engine's own draftCanContinue on
a throwaway copy of the player's view (now exported from acquire-engine),
so survivor, order and disposal confirms note when undo will no longer be
available. A spec checks the prediction against the full state across
variants (two tiles, bank mode, four hands, swaps, limited log, dropped
players).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The limited log started at each player's own last turn, so how much
history you saw depended on your seat: right after your turn you saw
almost nothing. Everyone, spectators included, now sees the current
turn and the full round of turns before it (one turn per seat). This
matches the old window on your own turn and is never shorter.
handSize offers 6 (default), 8, 10 or 12 tiles, with or without
twoTiles. Normalized options omit it at the legacy size (6, or 8 with
twoTiles), so games created without it keep their init log and replay
exactly; unknown values are ignored and logged.
Setup, refills, dead-tile replacement and public positions all use the
chosen size. The rack picks columns per hand size with container
queries: one row where it fits, otherwise two even rows, and three rows
of four for 12 tiles on the narrowest phones.
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.
The desktop grid shared rows with the board, so the decision/hand column and
the chains column stretched to the board's height and left large empty areas.
Group the panels into columns that stack independently: board and players;
decision, hand and chains; history and chat. Tablets keep the board and
players beside the decision, hand and chains, with history and chat below.
Phones place the panels individually as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A two-tile turn may now merge and then found, found and then merge two
other chains, or merge twice. It still founds at most one chain, and the
second tile cannot cause a merger involving the chain founded this turn.
New two-tile games record twoTilesRelaxed in their options. Replay passes
the init log's recorded options to normalizeOptions, so games created
under the original limits keep them and replay exactly. The hand explains
the new limit with hand.mergeFounded in all 17 catalogs.
On narrow layouts the decision panel sits above the board, so confirming a
tile chosen in the rack meant scrolling back up past the board. Extract the
place confirmation into PlaceConfirm, used by the action panel and, below
700px, directly under the rack, where it scrolls into view when it opens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
With twoTiles on, hands hold 8 tiles and each turn places two, each fully
resolved (mergers and bank tiles included) before the next. A turn founds at
most one chain and never both founds and merges; dead tiles are replaced at
the start of the turn. Buying, announcing and auto-play follow rules.md §4.1.
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>