Hex Bridgecraft, offline adaptation, modified 2026-10-25. Upstream: https://github.com/playhex/playhex Pinned commit: a9d7b6172b37343d0bd718a6e5b7c65e80a9d49d License: GNU Affero General Public License v3. See LICENSE.txt. Original Board.ts from src/shared/game-engine/Board.ts retains its logic. Changes: accept coordinate objects directly instead of move-notation strings; inline erased TypeScript type declarations to make the source self-contained. New code: offline DOM UI, shortest-path AI, controls, responsive styles and rules. No warranties. Casual Hex games omit opening swap rule. Corresponding source: board-source.txt, shell-source.txt, index.html, app.css. To rebuild: save board-source.txt as Board.ts and shell-source.txt as hex-app.ts in the same directory, then run with esbuild 0.25 or later: esbuild hex-app.ts --bundle --format=esm --target=es2020 --outfile=app.js Serve index.html and all other files together from any static host. All source and assets are local; no runtime package or server dependency.