sfmv/ - the variant engine of the Variants page (Crazyhouse, Atomic, Giveaway, Horde) What it is Multi-variant Stockfish compiled to WebAssembly: the npm package "stockfish.js", version 10.0.2 (engine id "Stockfish 2019-08-15 Multi-Variant", by D. Dugovic, F. Fichter and others; web build by Niklas Fiekas). The two files here are that package's files, not changed: stockfish.wasm.js (the Web Worker script) stockfish.wasm (the engine) One thread, no SharedArrayBuffer: it needs no special server headers. The server must send stockfish.wasm as "application/wasm". Why it is here The Android app plays these four games with Fairy-Stockfish (engine/variant/FairyEngine.kt). That build cannot run in a browser without site-wide server headers, so the website uses this engine, which knows the same four games. Its rules were checked against ../engine.js move for move. Used by ../play.js (the object "MV") and described in ../think.js (mvName, mvLimit, mvCommands ...). If these files are missing, the page still works: the built-in bot (../bot.js) plays. Licence GNU General Public License, version 3 - see Copying.txt in this folder. Complete source: https://github.com/niklasf/stockfish.js (branch "ddugovic", tag v10.0.2) https://github.com/ddugovic/Stockfish