A browser-based JavaScript chess engine and UI. The project includes a playable board, engine search, evaluation display, opening-book support, and Node-based engine test scripts.
- Play chess in the browser
- Human vs engine, human vs human, and engine-vs-engine modes
- FEN input and current-position output
- Evaluation bar, principal variation, and top-move display
- Opening book loading from
bookXml.xml - Node regression, match, and Stockfish comparison scripts
Open index.html in a browser, or serve the folder with a simple static server:
python -m http.server 8000Then open:
http://localhost:8000
The regression script runs the engine in Node with lightweight DOM stubs:
node scripts/regression.jsThe full regression can take several minutes because it includes search checks.
node scripts/selfplay.js
node scripts/engine-match.js --a js/all.js --b js/all.js --games 20 --time 250
node scripts/position-fuzzer.js --helpSome comparison scripts require a local Stockfish executable path.
Original project code is licensed under the MIT License. See LICENSE.
Bundled third-party files retain their own licenses. See NOTICE.md.