Engine.replayedTo carries each player's final faction variant over so the
replayed faction selection loads the boards the game was played with. When
the replay stops before the selection ends, the variant was left on the
player and the end of the selection loaded it on whatever faction was
picked next: undoing back into the faction selection and picking another
faction gave it the previous faction's board.
Reset the variant of players whose board isn't loaded at that point.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Engine.replayedTo rebuilds the game from the move history and only
carried each player's name, dropped flag and variant over, so
wrapper.replay reset players' auto-charge/income/brainstone settings to
the defaults, and automove ran with those defaults. BGS saves the
result of replay when a player undoes a move against bots and for admin
replays, so the settings were silently lost for good.
Carry the settings over with the other per-player data. Saved analyses
still start every player with default settings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BGS lets the only human of a game against bots take back their last saved
move (protocol 0.10.0). Both viewers show an "Undo my move" control with the
turn tools (an icon in the mobile action tray's title bar) while BGS reports
it available on that player's live board: never to spectators, nor in
replays, planning, BGS analysis or tutorials, nor while a queued plan awaits
the server. It asks BGS to undo; when the earlier state arrives, selections
made on the later board are dropped with the turn being composed. Back still
steps through the turn being composed, locally.
- @boardgamers/protocol 0.8.1 -> 0.10.0 (added to minimumReleaseAgeExclude)
- "Undo my move" in all 16 locales
- unit tests, a browser smoke test of both bundles, and BGS-like undo in the
local premove preview
- viewer 5.20.58, old-ui 1.0.21
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Tinkeroids faction sheet (faction name -> Rules) listed all six
Tinkering tiles even mid-game. With Tinkeroids in the game, the tiles
used in earlier rounds and the one chosen this round are now crossed out
like used actions, with a tooltip saying which; none of them can be
chosen again.
New dev scenario: lost-fleet-tinkeroids-tinkering.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Players holding the instant Gaiaforming booster (or T F Mars's Power
action) tend to start a normal Gaia Project first and expect the action
to finish it. The action places the Gaia Former itself, needs no power
tokens in the Gaia area, and can no longer target a planet that already
has a Gaia Former.
- The Place a Gaia Former menu now lists Instant Gaiaforming first for
each available source (booster: g, T F Mars: i), as the same move the
special/ship action menus make. Opening the menu no longer asks for
confirmation when every hex warns, since the instant choices don't.
- Booster, special action and T F Mars tooltips explain that the planet
becomes Gaia right away and no power tokens move to the Gaia area
(AI challenge manifest regenerated for the new ship-board text).
- New dev scenario: lost-fleet-instant-gaiaforming-booster.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
adb2413c replaced the shared federation <defs> (FederationGradients.vue,
#federation-arc/line/big-line per planet) with self-contained
{ path, color } lines drawn directly in SpaceHex.vue. old-ui's SpaceHex
keeps its own template while extending the current viewer's component, so
it still emitted <use xlink:href="#federation-…"> references to defs that
no longer exist — federations stopped rendering on the old-ui board.
Port the path-based markup (outline + colored stroke) to old-ui's
SpaceHex template and cover it with a Beta-2 fixture assertion in
game.spec.ts.