Commit graph

161 commits

Author SHA1 Message Date
24031837d9 Add Container final-state per-game achievements 2026-11-14 00:43:53 +00:00
66632f1697 Order revealed sealed bids by seat and release viewer 2.0.16 2026-11-12 22:06:10 +00:00
cae924287c Fix sealed bid lastMove leak and release engine 2.1.7 2026-11-10 16:25:15 +00:00
3244b59d09 Add manually authored Simplified Chinese game UI 2026-10-20 14:16:36 +02:00
a721a0080e Release container engine 2.1.6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:44:28 +02:00
daf3a1cc70 Let BGS replay the engine to an earlier position
BGS's undo against bots (and its admin replays) call replay(data, { to })
and expect logLength to then equal `to`, but replay ignored `to`: an undo
failed, or did nothing during an auction. With `to`, replay now rebuilds
the position after the first `to` visible log entries, from a deep copy.
Hidden-log moves all come after the visible log and are left out, so
replaying to the visible length of a running auction reopens it without
its sealed bids and bid-phase loans: the human and the bots bid again.
That position is a regular turn, not a live update (BGS then lets the bots
due play), with no announcements left. Without `to`, the full replay is
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:00:03 +02: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
4578009179 feat: allow revising pending sealed auction bids 2026-10-05 01:36:02 +02:00
a24bf7205a Fix formatting checks and document BGS source delivery 2026-10-04 11:33:06 +02:00
d21684430a Use shared BGS preferred colourblind player symbols 2026-10-02 11:20:54 +02:00
d0c9537cca Support custom player colours across the Container viewer 2026-10-02 01:38:31 +02:00
8ccc2a1396 Publish auction journal improvements and Supporter badges 2026-10-01 23:56:32 +02:00
41993b8131 Merge commit '4bcf010be1' into feature/safe-analysis-scenarios 2026-09-30 14:26:32 +02:00
d14d57437a fix: hand floating chat reminders over to the BGS rail 2026-09-30 14:25:54 +02:00
8c53d1b10e Format existing locale regression test for CI 2026-09-30 08:21:52 +02:00
4bcf010be1 Format existing locale regression test for CI 2026-09-30 08:21:31 +02:00
d7397ac7bf Fix mobile final score scrolling and keep close control visible 2026-09-30 08:19:39 +02:00
94125e186a Fix mobile final score scrolling and keep close control visible 2026-09-30 08:19:13 +02:00
ca275d6a37 Load languages on demand and publish complete viewer bundles 2026-09-30 00:27:37 +02:00
d514215313 docs: add Boardgamers play link 2026-09-28 22:47:05 +02:00
2f0c4a0503 fix: use protocol 0.6.2 and remove chat scroll backports 2026-09-28 19:51:14 +02:00
c7d3678785 Release container engine 2.1.3 2026-09-27 19:32:16 +02:00
925cacfa55 Fail closed when public cash cannot be reconstructed 2026-09-27 19:22:40 +02:00
a2c2439425 Simulate private state for ongoing analysis 2026-09-27 19:14:27 +02:00
212b56cd3c Preserve chat and journal position while scrolling history 2026-09-27 10:05:36 +02:00
4a8dbc0feb fix: preserve mobile scrolling and cancel reversed loan moves 2026-09-27 09:20:39 +02:00
89009f7781 Add Persian viewer and tutorial translations 2026-09-27 00:53:48 +02:00
af8beebb2c fix(viewer): prevent translated button overlap and restore unread chat 2026-09-26 12:01:23 +02:00
762a9f71fe fix(viewer): review contextual translations and localize whole journal entries 2026-09-25 21:37:55 +02:00
f931ca59d6 fix(viewer): keep translated calculator controls within their keys 2026-09-25 18:28:54 +02:00
c197b42042 feat(viewer): support the shared color-blind preference 2026-09-25 17:38:35 +02:00
9436db2f7a feat(viewer): localize interface and tutorials in 15 languages 2026-09-25 16:29:21 +02:00
e57d24cdfe feat(viewer): add player hover cards and board thumbnails 2026-09-24 11:44:11 +02:00
f189ee4863 fix(viewer): show container action bar only on mobile 2026-09-22 08:45:53 +02:00
e562533c97 feat(viewer): support editing chat messages 2026-09-21 22:40:07 +02:00
3666bb0948 fix(viewer): make chat translation controls compact 2026-09-21 21:53:03 +02:00
8664228bc8 Support translated chat and platform analysis defaults 2026-09-21 20:32:09 +02:00
c88540c103 Keep the mobile board scrollable and let chat scroll into view 2026-09-21 16:40:06 +02:00
fed212b4a6
Merge pull request #11 from boardgamers/feat/game-analysis
Support saved analyses of finished Container games
2026-09-21 16:17:37 +02:00
347702289f Check mobile chat through its tab in browser smoke tests 2026-09-21 15:35:56 +02:00
30cdb46757 Support saved analyses of finished Container games 2026-09-21 15:30:16 +02:00
b8c88babf4 Square panel corners along the screen edges 2026-09-20 00:19:06 +02:00
25091017ec Tab between journal and chat on mobile 2026-09-20 00:14:47 +02:00
f801e92906 Preserve chat when mobile controls mount and remove redundant drag listeners 2026-09-20 00:10:16 +02:00
cae59283d7 Match mobile controls to Container board styling 2026-09-19 21:00:29 +02:00
4b6ac3c431 Make mobile container purchases possible without cross-board dragging 2026-09-19 20:41:39 +02:00
74d7bdabf7 Format native tutorial browser test 2026-09-17 16:17:47 +02:00
c226c43b76 Teach tutorial actions through the game board 2026-09-17 16:12:18 +02:00
ed21bfe073 Fix journal scrolling on refresh and match chat height 2026-09-17 14:22:08 +02:00