# Stockfish Runtime Files

ChessIQ serves Stockfish JavaScript and WebAssembly files from this directory so game review can run in the browser.

## Source

- Package: `stockfish@18.0.5`
- Package name: `stockfish`
- Project: Stockfish.js by Nathan Rugg
- Source repository: https://github.com/nmrugg/stockfish.js
- Upstream engine: https://github.com/official-stockfish/Stockfish
- License: GPL-3.0

## Vendored files

These files are copied from `node_modules/stockfish/bin` by `scripts/setup-stockfish.sh` or `scripts/setup-stockfish.ps1`:

- `stockfish-18-lite.js`
- `stockfish-18-lite.wasm`
- `stockfish-18-lite-single.js`
- `stockfish-18-lite-single.wasm`

ChessIQ also keeps canonical fallback names that currently point to the single-threaded lite runtime:

- `stockfish.js`
- `stockfish.wasm`

## License

The GPLv3 license text is included in `COPYING.txt` in this directory and at the repository root as `LICENSE`.

If these engine files are replaced or updated, keep this notice and `COPYING.txt` with the distributed engine files.
