BGS saves what the engine's `replay(data, { to })` returns: undo against bots,
admin and batch replays. It replayed the log for display, without drawing from
the decks or advancing the PRNG, so a restored game kept its initial decks
(cards duplicated between hands and decks), rewound the random counter and
lost the players' auto-pass and production settings.
Given the seed, `replay` now re-applies the logged moves from `initGame`,
replays automatic choices as recorded and checks every regenerated entry
against the saved log, refusing rather than rewriting a history it cannot
reproduce (e.g. after a drop). Current names, settings and drops are kept;
secret-stripped logs still use the display replay. Engine 0.10.26.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The chat feed stays chronological (newest last) and now scrolls to the
bottom on load and on each new message while the user is already near the
bottom — scrolling up to read history no longer gets yanked back down.
Exchange moves no longer push a message into the game chat. The engine's
state.messages drains into the platform's chat as system messages, and the
per-trade lines were pure noise there — the trade already shows in the event
log. Chat is now reserved for game-over and auction wins. Engine 0.10.10.
Rather than a waiting-banner note, the card you received in an exchange now
appears in your hand as a face-down (unknown-value) card with a dashed gold
border and a title explaining it is parked on the Wily Trader / Merchant
House until the exchange step ends. The wrapper masks the parked card's
value from everyone — owner included — while the step runs, so it genuinely
is unknown; it resolves to a real card when the step closes. The banner note
is gone. Engine 0.10.9.
The received card is parked face-down on the Wily Trader / Merchant House
for the rest of the discard phase's exchange step (phase 4), so its value is
nobody's business until then. While the step runs, the exchange log entry
shows the offered card but masks the received value as "for a higher one"
for every viewer — participants included; once the step closes (and the card
lands in the giver's hand) the participants see it, others only at game end.
Added a waiting banner note so a trader sees their card is parked, not lost.
Engine 0.10.8.
Factory buys take a count, the same way population and robots do: one
payment covers count x cost, the cards are spent once, and the overpay is
lost. A lone Mega Titanium 44 buys 4 ore factories (cost 40) in a single
step; New Chemicals needs one research card per factory. The log reads
"builds 4 ore factories (paid 44)". Replaces the earlier one-step-per-copy
splitting, which was wrong — a card can only be spent once. Engine 0.10.7.
The era announcement read off entry.era, which is set on every round entry —
so "Era II begins" printed on every round of era II. The round entry now
carries eraBegan only on the round the era actually advances, and the log
text uses that. The feed renders it as a full-width era-colored band (bold,
era II orange / era III purple) instead of a subtle ruled line. Engine 0.10.6.
The exchange move now records the offered card (exchangeGiven: type + value)
alongside the returned card's value. The offered card's value needs no
masking once offered — it never re-enters the giver's hand (it goes to the
target, or bounces back from the parked cards at the same value). Both
values are still hidden from non-participants until the game ends, then
revealed to everyone. The log line reads "P1 trades Ore 5 with P2 for Ore 9"
for the two participants (and post-game), "P1 trades a card with P2 for a
higher one" for the rest. Engine 0.10.5.
The era transition was invisible in the log (only the market contents hinted
at it). The round entry's text now opens with "Era II begins — " / "Era III
begins — " on the round the era advances (era I is the opening era, so no
announcement), and the log feed renders it as a ruled delimiter above the
round line instead of plain text. The era is public and unmasked on the round
entry, so spectators and replays get the same delimiter. Engine 0.10.4.
productionRange ignored the Smelter kicker — it now adds the extra
floor(manned ore / 2) ore draws to min/max/avg. The other production kickers
(Ice Prospector / Refinery) draw-then-discard-cheapest: same card count, so
the range is unchanged by design.
PlayerPanel: while staging the operator assignment, your own panel shows the
production the STAGED factories would give — the min–max (~avg) line updates
with every toggle instead of only after the turn commits. Engine 0.10.3.
While a sealed auction collects bids, its log entries (and the game-server's
last-move summary built from them) leaked information: the opening line
showed the auctioneer their own amount, and auto-passes printed as "X passes
on the auction" the moment they happened. Now opening/bid/pass entries all
read as a neutral sealed-auction line until the resolving move is logged;
the wrapper's reveal then restores full text (amounts, passes, outcome). A
pass that resolves the auction now carries the "wins at N" outcome line too.
Engine 0.10.2.
The setting now lives entirely in fastAutoPass: a seat whose true hand value
cannot reach the list price is auto-passed (bid 0) the moment the auction
opens, recorded in info.autoPassed and applied verbatim on replay. The viewer
no longer sends anything for it — the previous client-side auto-pass raced
the host's state pushes and produced spurious "not your turn to play"
rejections. Timing may reveal that an auto-passed seat held a weak hand;
accepted (indistinguishable in the log from a public-bound or manual pass).
Engine 0.10.1.
fastBid used to mask every sealed bid from non-bidders forever. Now the
wrapper masks a bid only while its auction is still collecting bids — once
the resolving move (info.winningBid) is logged, every bid of that auction is
revealed verbatim in the log, including losing ones (Powergrid semantics).
During the auction only participation is visible, exactly as before. The
resolving entry's describe line now shows its own amount too.
Viewer: with the autoPassBids setting on, a player whose true hand cannot
reach the list price auto-submits a sealed pass (bid 0) — indistinguishable
from a manual pass, so nothing leaks about the hand. Engine 0.10.0.
The wrapper's init now reads the expansions string[] param (same pattern as
Gaia Project's lost-fleet): expansions ["kicker"] maps onto the internal
options.kicker flag, which the engine, dev harness and saved games keep
using. The gameinfo doc declares expansions: [{ name: "kicker" }] and no
longer lists kicker among the checkbox options. Engine 0.9.9.
Component shortage: production decks and mega cards are unlimited — a dry
deck (deck and discard both empty) produces a stand-in at the deck's average
value, a real card that spends and recycles normally; mega eligibility no
longer checks a printed pool count (megaSupply removed).
Corrected card data from the printed cards: Laboratory 80 and Ecoplants 30
(were 100/50), ore 1x6/2x8/3x8/4x8/5x6, ring ore 30x1/35x3/40x4/45x3/50x1,
moon ore 40x1/45x3/50x4/55x3/60x1, Launch Facility 60/2, Merchant House 15/1,
Refinery 15/1 (was provisional 60/1). Water, titanium, new chemicals, orbital
medicine, microbiotics and research confirmed as-is. Setup chart drops the
dead 10-player row (game is 2-9).
Also fixes a latent drawCard bug (popped from the stale array after a
reshuffle reassigned it, silently skipping draws) and teaches the AI to take
mega cards for hand-capacity relief instead of hoarding value-losing singles.
Engine 0.9.8.
Rules check for kicker eras (reported: 'era 2, kicker card is still era 1'):
per the rulebook, era transitions happen during Phase 2 (Replace Purchased
Colony Upgrade Cards) — when Era I ends, its remaining Kicker cards (slots +
pile) are boxed and the slots refill from Era II. A mid-round VP change does
not advance the era until the next colony ship. The engine already did this;
the bug was the DISPLAY: the header computed the era live from current VP,
so it showed Era II mid-round while the effective era (die, kickers) was
still I.
The state now carries the effective era, fixed at round begin and recorded
on round entries for replay; the header and the supply-bar highlights show
it. refillKickers also handles a double era jump (I -> III) by boxing both
ended eras. Engine 0.9.7.
- stripSecret now sorts the face-down Kicker piles into canonical order
instead of placeholder-masking them. The draw order stays secret, but the
per-type counts (public info: initial copies minus the public market and
owned cards) are now visible. The Kicker supply bar shows each pending
card with its count, like the colony-upgrade supply bar.
- New CardEffect component renders effect text with upgrade names as
era-badged chips, resource names as resource-icon chips, and "N X
factories" as manned-factory icons. Used in the market, the auction
banner, and tooltips stay plain text.
- The market card era marker now sits inline after the title.
- Capitalized resource names in effect strings so they render as chips.
Engine 0.9.6.
Add upgradeNumber/upgradeEra helpers (card 1-13 → Era I/II/III). The supply
bar now tags every upgrade type with a colored era badge (I blue, II orange,
III purple) so players can see the era grouping at a glance, and each market
card carries a small era badge. Engine 0.9.5.