3 ms·
Chess engines' stdio is for IPC with graphical front-ends, not interactive REPL use. Stockfish isn't really packaged as a standalone software program. Here's a
by perihelions 5y ago
Chess engines' stdio is for IPC with graphical front-ends, not interactive REPL use. Stockfish isn't really packaged as a standalone software program.
Here's an immediately usable browser version (supports WebAssembly with SIMD instructions):
https://lichess.org/analysis https://lichess.org/analysis
If you want to experiment with ./stockfish anyway, the protocol documentation is here:
https://www.shredderchess.com/chess-features/uci-universal-chess-interface.html https://www.shredderchess.com/chess-features/uci-universal-c...
edit: also someone mirrored it here (in a more convenient format)
https://gist.github.com/DOBRO/2592c6dad754ba67e6dcaec8c90165bf https://gist.github.com/DOBRO/2592c6dad754ba67e6dcaec8c90165...
- agalunar 5y agoStockfish also has a few non-standard commands, e.g. `eval`, which shows the NNUE derived piece values (among other things), which is pretty cool: $ ./stockfish position startpos eval
- perihelions 5y ago[deleted off-topic comment]
- agalunar 5y agoI'm getting extra output with NNUE enabled: https://heptonion.net/9ff70753.html https://heptonion.net/9ff70753.html Notice the diagram titled "NNUE derived piece values" underneath the table for "Contributing terms for the classical eval". Edit: for anyone interested in the hand-tuned evaluator, it might be worth checking out the Stockfish evaluation guide [1]. (The board in the upper-right corner is interactive!) [1] https://hxim.github.io/Stockfish-Evaluation-Guide/ https://hxim.github.io/Stockfish-Evaluation-Guide/
- perihelions 5y agoAhh this is my fault for thoughtlessly running an out-of-date version. Sorry!
- agalunar 5y agoNp! ^_^ (I suppose I should have also disclaimed that I'm running from master rather than the release, so it's possible the output's a bit different.)