# Pikafish NNUE for Xiangqi Wang

Engine code: GPL-3.0-or-later. See LICENSE. Neural-network weights: non-commercial use; see NNUE-License.md.

Exact WASM release: https://github.com/brianhliou/pikafish-wasm/releases/tag/v0.1.0
Exact upstream engine source: https://github.com/official-pikafish/Pikafish/tree/6a59ee2f7b105bff64d9efc2692591107787e2b1 (2026-09-19).
To reproduce these binaries, apply the distributed source.patch to that exact upstream commit, and use build.sh with Emscripten 3.1.74. See README.md. SHA256SUMS pins the unmodified binaries and matching complete NNUE network.

Our modified worker.js adds persistent caching and SHA-256 verification. The browser UCI bridge is distributed as /play/xiangqi/engine.mjs under GPL-3.0-or-later. All corresponding integration source is served alongside these files.

No cloud API, weaker fallback, or compact neural network is substituted. Searches reuse an initialized engine; document isolation enables WebAssembly SIMD and pthreads.
