# Fairy-Stockfish NNUE (browser WASM)

This folder ships an unmodified Fairy-Stockfish WebAssembly build plus the Xiangqi NNUE net used for in-page vs-AI play and hints.

## Upstream

- Fairy-Stockfish: https://github.com/fairy-stockfish/Fairy-Stockfish
- Browser / WASM packaging: https://github.com/fairy-stockfish/fairy-stockfish.wasm  
  npm package `fairy-stockfish-nnue.wasm`
- Xiangqi NNUE (`xiangqi.nnue`): the public Fairy-Stockfish / Pikafish-family xiangqi net (`xiangqi-c07e94a5c7cb.nnue` lineage). Filename must start with `xiangqi` so the engine selects the Xiangqi variant.

## Licence

Fairy-Stockfish and this WASM port are licensed under the **GNU General Public License v3.0**.  
The full licence text is in `COPYING` in this folder. Authors are listed in `AUTHORS`.

Corresponding source: the upstream repositories linked above. This site does not modify the WASM, JS glue, or NNUE binary contents.

## Files

- `stockfish.js` / `stockfish.wasm` / `stockfish.worker.js` — engine runtime
- `xiangqi.nnue` — evaluation net (~11MB), loaded into the engine virtual FS as `/xiangqi.nnue`
- `COPYING` — GPLv3
- `AUTHORS` — upstream author list

Fairy-Stockfish and its authors do not endorse this site. Local AI is for practice; legal moves and game results still follow this page’s rule engine.
