No description
  • TypeScript 43.6%
  • JavaScript 23.8%
  • Svelte 23.3%
  • CSS 8.8%
  • Python 0.3%
  • Other 0.2%
Find a file
2026-09-08 16:21:54 +02:00
docs Automatically resolve movement in a lava-aware order 2026-09-08 16:16:54 +02:00
packages Require dice selection before enabling Torch 2026-09-08 16:21:54 +02:00
scripts Resolve journeys after Gatherer decisions and record dice snapshots in journal 2026-09-08 15:44:23 +02:00
tests Require dice selection before enabling Torch 2026-09-08 16:21:54 +02:00
.gitignore Implement playable Fuji scenario one with BGS engine and Svelte viewer 2026-09-08 11:04:08 +02:00
.oxfmtrc.json Implement playable Fuji scenario one with BGS engine and Svelte viewer 2026-09-08 11:04:08 +02:00
AGENTS.md Implement playable Fuji scenario one with BGS engine and Svelte viewer 2026-09-08 11:04:08 +02:00
bgs-gameinfo.draft.json Add accessible color preferences and clarify map requirements and destinations 2026-09-08 14:40:02 +02:00
LICENSE Implement playable Fuji scenario one with BGS engine and Svelte viewer 2026-09-08 11:04:08 +02:00
NOTICE.md Implement playable Fuji scenario one with BGS engine and Svelte viewer 2026-09-08 11:04:08 +02:00
package.json Implement playable Fuji scenario one with BGS engine and Svelte viewer 2026-09-08 11:04:08 +02:00
pnpm-lock.yaml Implement playable Fuji scenario one with BGS engine and Svelte viewer 2026-09-08 11:04:08 +02:00
pnpm-workspace.yaml Implement playable Fuji scenario one with BGS engine and Svelte viewer 2026-09-08 11:04:08 +02:00
README.md Implement playable Fuji scenario one with BGS engine and Svelte viewer 2026-09-08 11:04:08 +02:00

Fuji

A playable first implementation of Wolfgang Warsch’s cooperative game for Boardgamers, with artwork by Weberson Santiago supplied by Feuerland.

This is a local alpha, not a published or publisher-approved final adaptation. It implements scenario 1, two to four players (two-player variant A), all four difficulty levels, six skills and fifteen equipment effects. The visual direction uses the original illustrations as an interactive landscape, with private dice totals, route previews, revealed comparisons and state-driven lava.

Run

Requires Node 24+ and pnpm 11.

pnpm install
pnpm dev

Open http://127.0.0.1:5187. The local harness keeps a playtest in browser storage. Click an adventurer to switch seats. Play next teammate action advances a simple, non-omniscient test player one action; it is a testing aid, not a strategic AI. New game replaces the local save.

pnpm check
pnpm simulate
pnpm fmt

The engine tests cover deterministic replay, invalid-move atomicity, private information, movement, lava, injury timing and equipment interactions. Simulation runs 150 complete expeditions across player counts and difficulty levels and verifies exact replays. Browser smoke testing covers setup, route selection, every round phase, game end, mobile overflow and the help dialog.

Packages

  • packages/engine: pure TypeScript rules, serializable state, seeded randomness, immutable move application and dist/wrapper.js for BGS.
  • packages/viewer: Svelte 5 viewer. Builds a self-contained dist/fuji-viewer.iife.js exposing window.fuji.launch(selector) and a stylesheet. The BGS host owns chat, clocks and the iframe message protocol.
  • scripts/extract-assets.py: reproducible extraction from the supplied production PDFs. Original archives are not included in this repository.
  • docs/rules-status.md: implementation scope, evidence and unresolved rule details.
  • docs/bgs-integration.md: packaging, protocol and remaining platform integration work.

Artwork

The supplied artwork is embedded in optimized WebP assets. Its copyright remains with the respective rights holders; the source-code license does not license the illustrations. The PDFs contain illustrations separate from symbols, but do not supply editable scene layers. Further art direction and animation work can build on this first playable version.

Code, identifiers, documentation and current UI copy are in English.

Browser checks

With pnpm dev already running and a current pnpm build:

pnpm exec playwright install chromium
pnpm test:browser

If Chromium is already installed in a non-default location, set FUJI_CHROMIUM_EXECUTABLE to its executable path. Screenshots are written under the ignored work/browser directory. The second smoke test loads the actual production bundle with a minimal BGS emitter host, checks readiness and state refresh, verifies the move payload, and confirms that Wireless exposes the correct dice without loading the local harness.