Files
tdkpin/tdkpin-rs/web
ddidderr 51502ef92f
Build TDK Pinball / build (macos-latest) (push) Canceled after 0s
Build TDK Pinball / build (ubuntu-latest) (push) Canceled after 0s
Build TDK Pinball / build (windows-latest) (push) Canceled after 0s
chore(release): prepare v1.1.0
Bump the package version to 1.1.0 for the web port, optional shared high-score service, and post-1.0 parity and edge fixes. Update CHANGELOG.md and refresh the tracked web WASM artifact.

Test Plan:
- `just test` -- passed (138 game tests, 3 highscore-server tests)
- `just clippy` -- passed
- `just build-production` -- passed
- `just web-build` -- passed
- `cargo metadata --locked --format-version 1 --no-deps` -- passed
- `git diff --cached --check` -- passed
2026-08-29 17:52:53 +02:00
..
2026-08-29 17:52:53 +02:00

TDK Pinball Machine web build

Build and serve the browser version from this directory with:

just web-serve

The game is compiled for wasm32-unknown-unknown and loaded into a fixed 640x460 canvas centered on the black page by index.html. Browser settings and a fallback copy of the high-score table are saved in localStorage; native builds continue to use their normal per-user save file.

The page includes the official Macroquad browser loader locally. The WASM bootstrap is local as well, so the page does not require inline or third-party JavaScript. The web page must be served over HTTP rather than opened directly from a file: URL.

For a strict Content Security Policy, allow script-src 'self' 'wasm-unsafe-eval' for the browser's WebAssembly compilation and connect-src 'self' for the local WASM and optional high-score API requests.

When the same-origin /api/highscores endpoint is available, the browser loads and submits the shared top-ten table there. The small Axum service and an nginx proxy example are in highscore-server.