Commit graph

35 commits

Author SHA1 Message Date
8a85ab8ec3 Highlight returned cargo tray while awaiting player selection 2026-11-19 09:09:45 +00:00
f9a3804512 Move bid draft cargo, frame returned containers above bank and simplify win logs 2026-11-19 09:02:40 +00:00
13bbb63b65 Animate bank settlement into holdings and release viewer 2.1.3 2026-11-19 08:46:42 +00:00
283bea6170 Use board destinations for bank returns, animate cargo and group lessons 2026-11-19 08:26:17 +00:00
46b44cdc7b Let Offshore cargo tutorial load both holding containers 2026-11-19 08:12:41 +00:00
5928bcb798 fix(viewer): show bank settlement winners with player badges 2026-11-19 08:11:24 +00:00
a0d46a4daa Add interactive Offshore tutorials and translate expansion text into all supported languages 2026-11-19 00:37:48 +00:00
2509441ec8 Disallow Offshore bids on empty reward lots 2026-11-19 00:21:43 +00:00
096b472c5f Keep bank bid-area labels visible when bidding is unavailable 2026-11-19 00:05:54 +00:00
053c00fd17 Style bank journal entries and automatically resolve forced payments 2026-11-19 00:00:38 +00:00
e99b9ccc66 Highlight eligible storage zones during bank container bidding 2026-11-18 23:47:01 +00:00
18fc0a90aa Preview container bids inside bank lots with a single draft action 2026-11-18 23:40:04 +00:00
bfa8389a99 Focus bank cargo bidding on board pieces and cancel zero cash drafts locally 2026-11-18 23:29:02 +00:00
c790257286 Center docked ships vertically in bank berths 2026-11-18 23:18:46 +00:00
1580a03be6 Restore open bank berths with player-colored borders and cargo inside 2026-11-18 23:15:57 +00:00
2782601446 Show bank rewards, bids and waiting cargo in player-colored harbors 2026-11-18 22:52:56 +00:00
e7b9c48c09 Compact bank bidding controls and highlight selected lots 2026-11-18 22:28:16 +00:00
928d227f36 Use player bid tokens and simplify the offshore harbor 2026-11-18 22:17:59 +00:00
d360520964 Clarify bank lots and amounts and place harbor alongside bank 2026-11-18 22:08:52 +00:00
b042edaaa5 Integrate Offshore bank into SVG board and migrate viewer to Vite 2026-11-18 21:57:16 +00:00
a7064f9c53 Add optional Offshore Island expansion, bank UI, bots and achievements 2026-11-18 21:16:06 +00:00
66632f1697 Order revealed sealed bids by seat and release viewer 2.0.16 2026-11-12 22:06:10 +00:00
f806bdef1f Offer "Undo my move" in games against bots
BGS lets the only human of a game against bots take back their last saved
move (protocol 0.10.0). The board toolbar's undo slot shows an "Undo my
move" control while BGS reports it available and the current turn has no
unsaved moves (those keep the in-turn undo); it stays hidden for spectators,
in analysis, during replays and in lessons. Clicking it asks BGS to undo,
which then sends the earlier state: going back in history discards the
local selection, bid drafts and confirmations.

The dev app mimics BGS's undo against its AI players. Also fixes the import
order that failed the prettier check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 11:32:52 +02:00
76ea16358e Prefill pending bids and retain confirmation when revising auction additions 2026-10-05 16:26:09 +02:00
a24bf7205a Fix formatting checks and document BGS source delivery 2026-10-04 11:33:06 +02:00
8ccc2a1396 Publish auction journal improvements and Supporter badges 2026-10-01 23:56:32 +02:00
4a8dbc0feb fix: preserve mobile scrolling and cancel reversed loan moves 2026-09-27 09:20:39 +02:00
c88540c103 Keep the mobile board scrollable and let chat scroll into view 2026-09-21 16:40:06 +02:00
f801e92906 Preserve chat when mobile controls mount and remove redundant drag listeners 2026-09-20 00:10:16 +02:00
4b6ac3c431 Make mobile container purchases possible without cross-board dragging 2026-09-19 20:41:39 +02:00
9b206d180a Clarify tutorial scoring and acknowledge correct answers 2026-09-16 08:14:05 +02:00
4eb331d601 Add guided Container tutorials and clearer auction controls 2026-09-15 23:02:22 +02:00
edfebe1b18 tests: cover the tentative-turn model
Engine (wrapper.spec.ts), simulating the platform (persist only what toSave
returns):

- mid-turn buffers are tentative (toSave undefined, nothing persisted) and
  the full turn commits when it completes
- bare move objects are accepted as one-element buffers; empty buffers are
  never saved
- undo-by-truncation: replaying a shortened buffer from the committed base
  equals never having made the popped move (including undoing to empty with
  no server call)
- scripted 2-player auction: sail-to-island commits immediately, a bid is a
  single-move committed turn, the auctioneer's mid-turn loan stays tentative,
  accept/decline commit and cannot be undone once control passes on
- the saved log length never shrinks across committed states
- moveAI always returns saveable states across a random 25-turn game;
  dropPlayer results are committed

Viewer: replace the dead example unit test (missing HelloWorld component)
with a real Calculator test so vue-cli-service test:unit passes.
2026-08-16 21:06:28 +00:00
coyotte508
50b57cb24d Add continuous integration 2021-07-04 00:06:50 +02:00
coyotte508
c02ecd3b5c Move viewer into own folder 2021-07-03 21:27:24 +02:00