mergers-game/scripts
Claude 2bdb95f23d Show a turn summary before the step that ends the turn
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>
2026-11-04 07:27:13 -07:00
..
check-browser.mjs Show a turn summary before the step that ends the turn 2026-11-04 07:27:13 -07:00