Play Hengband in the browser via WebAssembly.
Game progress is persisted across sessions using IndexedDB. Both Japanese and English builds are supported.
pnpm install
pnpm build:wasm && pnpm buildOutput lands in dist/.
Install dependencies once:
pnpm installStart the dev server (WASM binaries must already be in public/ to play):
pnpm serveOther commands:
| Command | Description |
|---|---|
pnpm build |
Production build → dist/ |
pnpm serve |
Dev server at localhost:5173 |
pnpm lint |
Check code with Biome |
pnpm lintfix |
Auto-fix lint/format issues |
pnpm typecheck |
TypeScript + Svelte type check |
pnpm test |
Run unit tests (Vitest) |