Commit graph

161 commits

Author SHA1 Message Date
8e48e0b982 Fix bid panel showing under an upgrade when a Kicker card is staged
The upgrade market's open check matched on marketIndex alone, so staging
Kicker card N also opened the bid box under upgrade N. Require
pick.kicker !== true for upgrades (the Kicker section already required
=== true).
2026-09-06 17:35:04 +00:00
a41d8abbcb Reveal sealed bids after the auction resolves; auto-pass unaffordable sealed bids
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.
2026-09-06 16:43:19 +00:00
1545243049 Make Kicker a native BGS expansion instead of a game option
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.
2026-09-05 20:26:58 +00:00
624d09252b Verify all rules data against the physical 20th Anniversary copy
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.
2026-09-05 19:34:41 +00:00
dcdb9dd9eb Align game data and logic with physical components 2026-09-05 19:32:50 +00:00
62a73d932e Left-align the upgrade band with the factory band
The upgrade row now starts at the same x as the leftmost factory instead of
being centered independently.
2026-08-30 20:11:09 +00:00
8fa6234787 Show the last 150 events in the log feed (was 40)
The feed is height-capped and scrollable, so a longer history costs
nothing.
2026-08-30 20:00:59 +00:00
169ca3b37d Moon scene: upgrades get their own band below the factories
Each player cluster now lays out in two bands: factory families on the top
rows, upgrade families on separate rows beneath them. Keeps clusters narrow
and stops factories and upgrades from sprawling into one long line.
2026-08-30 20:00:06 +00:00
11befdbc0f Fix missing spaces around Svelte block boundaries
Svelte drops whitespace-only text at the start of a block but keeps it
before the {#if} tag, so text glued as expr}{#if rendered without a space:
- production average: '6-20(~13)' → '6-20 (~13)' (now matches hand value)
- mega stepper: 'Mega Water(◈ 30)' → 'Mega Water (◈ 30)'
- auction hint: 'You hold ◈ 12+15' → 'You hold ◈ 12 +15' (both banners)
- pay hint: '(bid 40− 15 discount)' → '(bid 40 − 15 discount)'
- market card: 'min ◈ 25· you pay' → 'min ◈ 25 · you pay'
- player tags: 'Laboratory×2' → 'Laboratory ×2' (matches the supply bar)
2026-08-30 16:31:57 +00:00
5401bb6b5a Era transitions take effect at the colony ship, fix the era display
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.
2026-08-30 15:47:09 +00:00
67c81504ce Ground the back building row, bring the front row down; tighten spacing
The back row of a 2-row family was raised above the ground line, which made
it float into the sky. Now the back row stays on the ground and the front
row comes forward (down the screen). Also tightened the horizontal spacing
(22 → 18) and the row gap (22 → 16) so family members pack closer.
2026-08-29 22:10:17 +00:00
a846e333b9 Cap building families at 2 rows; glow only on manned factories
- A building family now lays out in at most 2 rows split as evenly as
  possible (3 → 2+1, 4 → 2+2, 5 → 3+2, 6 → 3+3) instead of one long line.
- The glowing resource icon in a building's middle now renders only for
  manned factories, not for upgrades (Heavy Equipment, Nodule, ...) which
  were always marked manned.
2026-08-29 22:03:44 +00:00
94321b88ec Organize moon buildings by family in rows instead of a spiral
The per-player building clusters were placed with phyllotaxis (sunflower
spiral) plus jitter, which looked haphazard. Now each cluster's buildings
are grouped into families (same factory type / same upgrade), and the
families are typeset into rows like words in a paragraph — a family stays
together on one row and wraps to a new row when it would overflow, never
splitting. Buildings sit on the ground curve; back rows are raised to read
as further away.
2026-08-29 21:58:39 +00:00
f1f53627a6 Add the inline era marker to Kicker market cards too
Kicker cards now show the same era badge after their title as the colony
upgrade cards (reusing the .uera style), so both card types carry their era
inline.
2026-08-29 21:01:55 +00:00
c2420740fb Highlight only the current-era marker chip, not every card in the era
The gold current-era border now applies only to the standalone era delimiter
chip in each supply bar; the individual pending cards keep their normal
border. Less visual noise, same signal.
2026-08-29 20:51:03 +00:00
a5f364972e Harmonize the two supply bars + move pending upgrades under the colony section
The colony-upgrade supply now matches the Kicker supply: a standalone era
delimiter chip before each era group, and current-era cards get the gold
highlight border (driven by colonyEra). The pending-upgrades bar also moves
to the bottom of the "Colony upgrades for auction" section, right under the
market cards, instead of sitting below the Kicker section.
2026-08-29 20:48:17 +00:00
10b2b2e12a Structured effect tokens: icons replace words in card descriptions
Card effects are now EffectToken[] instead of prose that CardEffect parsed
with regexes. A Resource/FactoryType renders as its icon, an Upgrade/Kicker
as an era-badged chip, and "manned factory" as filled factory icons — so
descriptions get compact: "Allows ◆ (7-13 cards)", "Draw 1 extra ◆ per
◆◆". effectToText flattens the tokens back to a plain string for tooltips
and log titles. Viewer-only change.
2026-08-29 20:34:44 +00:00
415d245a3f Rich card descriptions + precise Kicker pile counts
- 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.
2026-08-29 20:26:07 +00:00
df4fd6a74e Show pending Kicker cards by era in the market
Below the current Kicker slot(s), list each era's Kicker types with the
face-down pile's remaining count (the draw order stays hidden — only the
public per-era type set and pile size show). The current era is highlighted.
Mirrors the colony-upgrade supply bar.
2026-08-29 20:02:52 +00:00
5bd19c5b98 Correct Smelter price to 15 (was 30)
Per the Kicker card data, Smelter costs 15. Also corrects the README card
list. Engine 0.9.5.
2026-08-29 19:57:01 +00:00
e5e566649d Show each colony upgrade's era in the market and supply bar
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.
2026-08-29 19:53:34 +00:00
7e22d31637 Fix mega conversion destroying production cards (deck conservation)
producePlayer draws every operated factory's card from its deck into
pendingMega. When a Mega card was then taken, the 4 staged draws it replaced
were simply dropped — but they had already been drawn from the deck, so each
mega conversion permanently destroyed 4 cards of that resource. Over a game
this drained the resource deck to 0 with an empty discard (confirmed live:
4 Mega Water taken destroyed 16 of 39 water cards, so no one could draw
water).

A Mega card is taken INSTEAD of the group's 4 draws — those draws never
happen, so the staged cards now go back onto their (face-down) deck,
conserving the count. Engine 0.9.4.
2026-08-28 23:22:03 +00:00
fc889c21b1 Treat missing era-streak fields as 0 (pre-0.9.2 saved states)
States saved before the eraStreak fields existed lack them; updateEraStreaks
did undefined + 1 = NaN when the supply was empty, so the era fallback never
fired for migrated games and NaN polluted the state. Make the fields optional
and default them to 0. Engine 0.9.3.
2026-08-28 23:15:11 +00:00
cf764c9e3c Tie the Kicker era to the game era; implement the full base-game era rules
The Kicker era advanced only when its pile emptied, so era-I Kicker cards
lingered all game if players didn't buy them. Per the Kicker rules, the era
follows the game era: when it advances, leftover Kicker cards of the ended
era (slots and pile) are returned to the box and the slots refill from the
new era. colonyEra() now derives the era once (leader VP) and drives both
the market die and the Kicker refill; the round entry records kickerEra and
kickerPiles (masked in stripSecret) for exact replay.

The base-game era rules are now complete too:
- The 'very rare' fallback: a second consecutive round beginning with every
  upgrade 1-4 (→ Era II) or 1-10 (→ Era III) already purchased advances the
  era even with no player at the VP threshold (eraStreak4/eraStreak10,
  recorded on the round entry for replay).
- The next-lower-numbered-card cascade: a roll naming an exhausted type now
  falls to the next lower offerable upgrade down to the era floor instead of
  only rerolling.

Also fixes a latent JSON-stability bug my era work exposed: the auction
object always set both upgrade and kicker (one undefined), which JSON
round-trip drops — now exactly one key is present.

The viewer header shows the current era. Engine 0.9.2.
2026-08-28 23:12:26 +00:00
9af670d203 Fix publicMaxBid undercounting mega cards; show auto-passes in the log
publicMaxBid valued every hand card at its resource's deck max, including
mega cards — but a mega card is face-up with a fixed printed value that can
far exceed the deck max (Mega Titanium 44 vs 13, Mega New Chemicals 88 vs
26). The auto-pass bound was therefore drastically undercounted for anyone
holding mega cards, so fastAutoPass / mustAutoPassBid passed seats that
could easily afford the bid. Use the mega card's printed value (public
information) instead of the deck max. publicMaxBid now agrees with
handValueRange.

Also: an auction's auto-passed seats were recorded in MoveInfo.autoPassed
but never rendered — a sealed-bid auction could silently skip players.
describe.ts now appends them ('— X auto-passes (can't reach the price)').

Engine 0.9.1.
2026-08-28 22:51:37 +00:00
85a5b48315 Mega: blind per-group election before draws (rule 12.1); clearer bid max + clamp bids
Mega (rule 12.1) rework — the election is now made blind, before any of the
round's production draws are revealed, and decided per group of 4 operated
factories (never upgrade freebies or Kicker bonuses):

- Eligibility is computed from operated factories (megaGroups), staged at
  production time and recorded on the round log entry for exact replay.
- The mega move is now { take: { resource: count } } (was { cards: indices }).
- The electing player's own pending draw values are hidden (stripSecret /
  logSlice) until they commit, so the choice is genuinely sight-unseen.
- AI elects by fixed mega value vs expected value of 4 fresh draws.
- Viewer: per-resource Mega stepper in the action bar; pending draws render
  face-down during the election.

Bidding clarity + safety:
- Auction banner shows the max-bid breakdown: hand value + discount (colored)
  = max bid, for both sealed and sequential auctions.
- Opening-bid and follow-up-bid inputs are clamped to the affordable max
  (hand value + discount) instead of relying on the engine to reject overbids.

Engine 0.9.0 (mega move-format change).
2026-08-28 22:21:56 +00:00
b834ebed96 fastBid: sole bidder who overbid the opening pays the list price
Second-price sealed auctions charge the runner-up bid + 1, floored at the
list price (the reserve) and capped at the winner's bid. The old special case
(secondBid === 0 -> pay winningBid) only yielded the list price when the
opener bid exactly list; an opener who overbid (e.g. 35 on a 25-list card)
and saw everyone pass was wrongly charged their full bid. Now the price is
min(winningBid, max(listPrice, secondBid + 1)), so an uncontested overbid
pays the list price. Engine 0.8.3.
2026-08-28 21:29:45 +00:00
5bf986761d engine: add simple text to logSlice entries; seal fastBid opening bids
Two game-server-facing fixes:

- logSlice entries now carry a plain-text simple line (via describeLogEntry),
  which the game-server's lastMoveText probes for to show the last move in the
  game list. Structured entries otherwise stringified to noise there.

- fastBid: the auctioneer's opening bid is their sealed bid, but the auction
  log entry's bid was never masked — opponents saw it in the raw log and in
  the event-log text. hideProduced now masks it to -1 for non-auctioneers
  (fastBid only; sequential opening bids are the public high bid), describe
  renders it as a sealed bid, and sanitize/replay accept the -1 sentinel.

Engine 0.8.2.
2026-08-28 20:24:52 +00:00
b5df3bb6d4 Add asSeenByOthers parameter to hand value functions 2026-08-28 20:15:00 +00:00
f900ece047 viewer: show your own public hand-value range (what others see for you)
Next to your exact hand total, show the min–max range other players see for
you (your card types are public, only the values are hidden), with their
best-guess average in parentheses — the same computation handValueRange does
for opponents. Only shown when the range is non-trivial (min != max).
2026-08-28 19:52:06 +00:00
7bf5036743 fastBid: auto-pass seats that provably cannot reach the list price
On a sealed-bid auction open, auto-pass (sealed bid of 0) any active seat
whose public max bid — each hand card worth its deck max, computable from
public card types — is below the list price. Unlike a true-value check this
leaks nothing (the bound is public information), and it skips bids the
auction would never wait on, so fast auctions resolve faster. If auto-passing
leaves the auctioneer as the sole bidder, the auction resolves immediately at
the list price. The passed seats are recorded in MoveInfo so a stripped log
replays verbatim. Engine 0.8.1.
2026-08-28 19:49:52 +00:00
106ddfe5f1 Kicker: implement Wily Trader / Merchant House exchange
Add the forced card-exchange mechanic as a new "exchange" phase at the end
of the discard phase. In player order, each Wily Trader / Merchant House
owner may hand one tradable card (Ore/Water/Titanium, or Research/
Microbiotics/New Chemicals for Merchant House) to a player holding a
non-Mega card of the same type; the target must return a higher-valued card
of the type if they have one, else return the given card.

The target's return is auto-resolved (their lowest higher-valued card), so
the target makes no decision — one exchange move per owner. Taken cards park
face-down on the Kicker card until the phase ends (untargetable that phase).
The resolution is recorded in MoveInfo so a stripped log replays verbatim.

Engine: exchange/exchangePass moves, ExchangeState, validation, sanitize,
describe, availableMoves/currentPlayer, replay, stripSecret masking, AI, and
tests. Viewer: exchange step in the ActionBar, clickable hand cards and
target player panels. Engine 0.8.0.
2026-08-28 19:40:25 +00:00
98ad7a2aaf Correct Kicker card prices/VPs to the printed values
Confirmed from the 2011 rulebook and BGG: Robot Prototype 10/0 (was 10/1),
Smelter 30/1 (was 10/1), Launch Facility 75/2 (was 40/2), Merchant House
60/1 (was 40/2). Refinery's printed cost/VP are undocumented (the rulebook
omits its card image); provisionally 60/1 as the Era II analog of Ice
Prospector (mirroring Wily Trader 10/1 -> Merchant House 60/1). README and
the rules CMS page updated to match.
2026-08-28 11:46:59 +00:00
3faa0d6aad Add the Kicker expansion as a game option
The kicker option adds a separate row of Kicker slots (1/2/3 by player
count for 2-4/5-7/8-9) filled from era piles (I -> II -> III). Kicker
cards are auctioned like colony upgrades (no discounts) and grant VPs
plus in-game benefits.

Engine (0.7.0):
- Kicker cards are a distinct type; auction/pay flow accepts a kicker
  flag (index into kickerMarket). Era advances when its pile empties,
  removing leftover slot cards. Round log entries carry the Kicker slots
  so replay reproduces them; stripSecret hides the face-down era piles.
- Effects: Ice Prospector/Refinery (draw an extra water/titanium then
  discard the cheapest just-drawn of that type), Smelter (-5 on Robots
  upgrades + 1 ore per 2 ore factories), Launch Facility (-30 on the big
  three), Biosphere (+5 population limit), Robot Prototype (free robot
  operable without a Robots upgrade), NCF Prototype (free New Chemicals
  factory, no research card). The AI auctions and bids on Kicker cards.
- Wily Trader / Merchant House score their VP but their interactive
  forced exchange is deferred (noted in README).

Viewer: a Kicker section in the market (era-colored cards: era I blue,
II orange, III purple) with the auction flow, and Kicker badges on the
player panels. Dev harness gains ?kicker=1.

Card data: Biosphere 250/25, NCF Prototype 60/0, Era I 1 VP confirmed;
the remaining prices/VPs are inferences pending the printed values (one
line each in KICKER_SPECS). Rules CMS page and README updated.
2026-08-28 10:51:14 +00:00
504b724999 Implement mega production cards (expert rule 12.1)
With 4+ manned water/titanium/newChemicals factories a player may take 1
Mega card per group of 4 draws instead: a fixed printed value (Mega Water
30, Mega Titanium 44, Mega New Chemicals 88) that counts as 4 cards toward
hand capacity.

Engine (0.6.0):
- Production draws are staged in player.pendingMega; a new "mega" phase
  sits between production and discard. Players with no mega option
  auto-confirm to singles; eligible players confirm via the "mega" move
  (selected indices must form full groups of 4 of one mega resource).
- Mega cards are a separate face-up pool (megaSupply, 9 per type); a
  spent/discarded mega returns to its pool, never the shuffled deck.
- Held megas are public: stripSecret keeps their printed value, and
  handValueRange/Expected count them exactly. countingHandSize weighs a
  mega as 4. Replay reproduces the staged draws and the mega moves from
  the log. The AI converts a group when the fixed value beats the draws'
  expected value; chooseDiscard accounts for the 4x weight.

Viewer: a Production phase shows the staged draws in your panel — click
groups of 4 to mark them for a Mega card, the rest are kept as singles;
mega cards render with a gold border and a "Mega" label, and opponents'
held megas are shown as public cards. HeaderStrip labels the phase.

Docs: README deviations describe the rule and the pool-size inference;
the rules CMS page gains a Mega production cards section.
2026-08-28 10:22:22 +02:00
160058527d Paint moon buildings back-to-front so lower ones overlap higher ones
SVG renders in document order; sorting the positioned buildings by y
gives the clusters proper depth instead of draw-order overlap.
2026-08-28 09:50:28 +02:00
75f6628ae5 Trim AGENTS.md duplication; note Laboratory/Ecoplants price variance in README
Both files are fed to agents, so rules details live only in README's
deviations section; AGENTS.md points at it. README also flags that the
1994 v1.32 document prices Laboratory/Ecoplants at 80/30 while this
implementation follows the 20th Anniversary printing at 100/50.
2026-08-28 00:13:26 +02:00
4441507f1b Show production stats, longer log, supply tooltips; document mega-card gap
Viewer:
- Player panels show per-round production (min-max with average) from
  manned factories and producing upgrades, and opponents' hand ranges
  now include the expected value alongside min-max.
- Event log keeps 40 entries (was 10) with a taller scroll area.
- Supply upgrade tags carry a full tooltip (VP, list price, effect).

Engine (0.5.1): productionRange and handValueExpected helpers (public
information only; additive, no behavior change).

Docs: AGENTS.md gains the mega-card rule gap (v1.32 rule 12.1 on hold —
Mega Titanium value undocumented), the fastBid design notes, the
responsive-layout conventions, the GitHub remote (the 'no remote' note
was stale) and the rules-page CMS route. README deviations note the
missing mega cards.
2026-08-28 00:07:42 +02:00
9235b95a45 Add fastBid option: simultaneous sealed-bid auctions
With the fastBid setup option, auctions become sealed-bid: everyone bids
at once (the auctioneer's opening bid is their sealed bid), bids stay
hidden until all are in, then the highest bidder wins at second-highest
+ 1 (capped at their own bid; a sole bidder pays list price). Ties go to
the earliest seat in purchase order from the auctioneer.

Engine (0.5.0):
- AuctionState.bids (seat -> amount, 0 = pass); currentPlayer returns
  all pending bidders as an array during a fast auction.
- stripSecret masks other players' sealed bids (-1) and bid move
  amounts in the log; replay carries the recorded resolution
  (winningBid/secondBid/winner in MoveInfo) so a stripped log replays
  deterministically.
- No auto-pass in fast auctions: passing is a private bid of 0, so a
  weak hand is not revealed by being skipped.
- dropPlayer during a fast auction = sealed pass; a dropped winner is
  skipped at resolution. AI bids max when list price is reachable.

Viewer: sealed-bid banner (who still has to bid, bid input floored at
list price), SEALED BIDS phase label, pending bidders highlighted, log
narrates sealed bids. Dev harness: ?fastBid=1.
2026-08-27 23:42:13 +02:00
3ecb343dd6
Add player building clusters to background scene (#1) 2026-08-27 23:38:08 +02:00
11c29f877d Reorder layout elements for better mobile and desktop flow 2026-08-27 20:45:20 +02:00
93d7357953 Reorganize viewer layout and improve responsiveness for narrow screens 2026-08-27 20:33:24 +02:00
a885d395b9 Show produced card value range when building factories
Factory buy buttons, the payment hint and the factory-chip tooltips in
player panels all state the min-max card value a manned factory yields.
2026-08-26 09:19:00 +00:00
f6377865dc Soft-hyphenate Chemicals so New Chemicals cards don't overflow 2026-08-26 09:16:46 +00:00
2a82bd4bbc Upgrade badges, credit icon on amounts, robust header alignment
- UpgradeBadges component on market cards and the auction banner: produced
  card (icon + value range), unlocked/free factories (icon chips), hand
  capacity / population bonuses, robots and ecoplants effects at a glance.
- Prefix credit amounts with the currency glyph everywhere (prices, bids,
  payments, buy buttons).
- Fix the header strip width for real: size the main column to fill the
  board instead of sizing the page to its content (unwrapped log lines made
  fit-content drift wider than the visible content row, e.g. 2-player games).
2026-08-26 09:13:03 +00:00
575026975e Optimal card payment suggestions via exact subset-sum
Replace the greedy smallest-first pick with a small 0/1 knapsack DP
(bestPayment in the engine): minimize the total paid (change is lost),
and among equal totals spend as many cards as possible (3+2 beats 5).
A forced research card is chosen to minimize the total too. Used by both
the viewer's auto-suggestions and the AI. Engine 0.4.3.
2026-08-26 09:08:05 +00:00
3f036c7e34 Improve readability and trim end-turn noise
- Upgrade card/list text: larger and brighter (new --text-mid tone) in the
  market cards, auction banner, supply tags and player upgrade tags.
- Log: 'X builds a water factory (paid 20) and mans 4 factories' instead of
  the repetitive 'ends their turn' phrasing; buttons are now 'Assign
  operators…' then a single 'End turn' confirm.
- Upgrade effects mention the produced card's value range (e.g. Microbiotics
  14-20), derived from the deck data.
- Soft-hyphenate Microbiotics so it wraps inside the narrow card.
- Bidding: when the high bid provably can't be beaten, say so and offer only
  Pass instead of a row of disabled steppers. Engine 0.4.2 (describe only).
2026-08-26 09:04:30 +00:00
ce962e6911 Make asteroids occlude the starfield
The static asteroids in the background SVG and the drifting rocks were
translucent, so stars shone through them and read as being in front.
Replace each translucent grey with its opaque blend over the background
color: identical appearance on empty sky, proper occlusion over stars.
2026-08-25 12:29:33 +00:00
51fa6c1668 Show opponents' possible hand value range from public card types
Card types are public (only values are stripped), so each hidden card is
worth between its deck's min and max. New engine helper handValueRange
(exact for visible values) and a dimmed credits range in opponent panels.
Engine 0.4.1.
2026-08-25 11:20:16 +00:00
973b942db2 Align the header strip with the board content width
On wide screens the content row centers at fit-content width while the
header strip spanned the full board width; move the strip (and replay bar)
inside the page container so they share the same width.
2026-08-24 19:01:14 +00:00