Commit graph

126 commits

Author SHA1 Message Date
ef36f40b03 Ignore the local pnpm store directory 2026-11-14 11:36:14 +01:00
cc865cfcbb Prepare Fuji 0.1.13 engine-only public beta update 2026-11-14 01:26:33 +00:00
34313b6b9d Add cooperative Fuji achievement manifest and evaluation 2026-11-14 01:19:12 +00:00
a64194deb6 Add manually authored Simplified Chinese viewer and tutorial catalog 2026-10-20 14:13:13 +02:00
0c59dab3d1 Undo against bots: replay to BGS log positions (engine 0.1.12)
BGS undoes the only human's last saved move by calling replay(data, { to })
with the log length recorded before that move, and requires
logLength(result) === to. The wrapper passed `to` to the internal replay as
a history index, so most undo requests failed or landed elsewhere; admin
replays, which also send log positions, had the same problem.

With a position, replay now rewinds to the first point where the journal
reaches it, then reapplies later name changes and drops, and does not queue
chat announcements of replayed moves again. Choices that add no journal
entry (live route and readiness edits, preparation before the last player is
ready) are not restored: undoing one reopens them for every player, and the
bots choose again. replay(data) without a position, createAnalysis and the
internal history-index replay are unchanged.

Tests play complete 2-4 player games against bots: every undo point reaches
its log length and deep-equals the saved state unless unannounced choices
preceded the move; otherwise the reopened phase stays playable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 11:59:26 +02:00
a2ce650d6c 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 header utilities show an undo control while BGS
reports it available to the seated player, except in analysis and while a
move awaits the next state; it asks BGS to undo, which then sends the
earlier state. A state that goes backwards stops playback and discards local
selections (dice, equipment forms, lava warnings). The local harness offers
the same control after each move made from the interface.

Upgrade @boardgamers/protocol from 0.6.1 to 0.10.0 (older versions drop
undo:available) and remove the 0.6.1 chat scrolling patch: 0.10.0 ships the
same fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 11:38:06 +02:00
e4422deb48 Show the shared Supporter badge and document source delivery 2026-10-04 11:27:57 +02:00
6d05f81acd Merge commit '78be394a3aabcb4b1ed117415923e2c492eb144c' into feat/ongoing-analysis-scenarios 2026-09-30 14:28:04 +02:00
81315ea484 Show chat reminders only when the host rail is unavailable 2026-09-30 14:26:03 +02:00
e8602430dc Split languages and media out of the viewer entry 2026-09-30 00:28:36 +02:00
78be394a3a docs: add Boardgamers play link 2026-09-28 22:47:09 +02:00
92e584ba39 Release engine 0.1.11 with safe analysis scenarios 2026-09-27 19:32:03 +02:00
94653b7457 Preserve known loaned and radio dice in analysis scenarios 2026-09-27 19:30:50 +02:00
3afb8000db Preserve unrolled setup dice and verify scenario progression 2026-09-27 19:19:23 +02:00
026dfa1a62 Add private-information-safe ongoing analysis scenarios 2026-09-27 19:10:10 +02:00
a79212a8c7 Fix slow chat scrolling and preserve page scroll chaining 2026-09-27 10:07:57 +02:00
f6846f447a Improve mobile map, action panels and expedition details 2026-09-27 10:07:57 +02:00
d46c69fd0e Add Persian viewer and tutorial translations 2026-09-27 00:52:38 +02:00
524ceec01c fix(viewer): restore saved unread chat counts 2026-09-26 12:10:31 +02:00
49b7004ce7 Review viewer translations in context across supported languages 2026-09-25 21:51:26 +02:00
22b52e8c26 feat(viewer): localize interface and tutorials in 15 languages 2026-09-25 16:30:06 +02:00
54e9c60faa feat(viewer): add player hover cards and board thumbnails 2026-09-24 11:44:30 +02:00
b8c7ebbdaf Use the shared BGS color-blind preference 2026-09-23 19:45:18 +02:00
db7cc6f558 feat(viewer): support editing chat messages 2026-09-21 22:40:14 +02:00
44982d6331 fix(viewer): make chat translation controls compact 2026-09-21 21:53:18 +02:00
bd5b892cdb Support saved analysis positions and translated chat 2026-09-21 20:32:51 +02:00
2e529beae8 Keep Fuji branding and fullscreen controls in one compact header 2026-09-19 12:47:29 +02:00
956121fd47 Clarify tutorial summaries and add next-chapter playback 2026-09-16 09:29:45 +02:00
b9f2eef696 Add Fuji victory lesson and a petal celebration 2026-09-15 23:08:24 +02:00
dbe5ea819d Add four guided tutorials using protocol 0.3.0 2026-09-15 21:02:51 +02:00
83dfdcb775 Hide floating chat shortcut when there are no unread messages 2026-09-15 11:50:38 +02:00
e71774da04 Continue chat messages after Tab-completing a mention 2026-09-13 22:51:00 +02:00
1992b87377 Clear visible chat mentions in BGS and show date separators 2026-09-13 22:41:02 +02:00
df58484f36 Share chat input and scrolling behavior while retaining expedition UI 2026-09-13 22:18:52 +02:00
74507bc2ed Use shared BGS viewer and chat protocol 2026-09-13 20:14:09 +02:00
9d48f28519 Exclude own player from chat mention suggestions 2026-09-13 17:18:18 +02:00
c1d2738f5c Add chat mentions, rich messages and scenario labels 2026-09-13 17:15:36 +02:00
2ed2c36872 Match equipment chat to journal and privately show Map transfers 2026-09-12 19:13:12 +02:00
4c17c63565 Keep destination comparisons visible and avoid overlapping board markers 2026-09-12 19:05:39 +02:00
4d6a716b16 Remove level help icon 2026-09-12 18:49:17 +02:00
421efefe72 Preview planning dice conflicts and clarify choice controls 2026-09-12 18:42:01 +02:00
e6bcd883e9 Clarify starting dice choices and player role help 2026-09-12 16:56:35 +02:00
5b4614371e Show desktop dice previews and mobile chat journal tabs 2026-09-11 20:46:02 +02:00
ef3d3fe1c8 Announce injuries and their effects in chat 2026-09-11 19:58:34 +02:00
22d10fdc6e Preview destination dice totals on mobile 2026-09-11 19:49:36 +02:00
1eb7b7e409 Announce equipment uses in game chat 2026-09-11 19:27:46 +02:00
0907ad6b7b Allow cooperative choices to reopen with fair time credits and improve mobile controls 2026-09-11 11:29:54 +02:00
4e441f2274 Enlarge board locations and tighten the gaps 2026-09-11 00:14:03 +02:00
fd6a7c4ba9 Follow latest chat messages after delayed layout on refresh 2026-09-11 00:11:11 +02:00
567c9438c3 Use a compact single-line chat composer 2026-09-11 00:07:23 +02:00