3 ms·
I see that, like ed(1), stockfish is generous enough to flag errors, yet prudent enough not to overwhelm the novice with verbosity. $ ./stockfish_14_x64_bmi2
by jeffbee 5y ago
I see that, like ed(1), stockfish is generous enough to flag errors, yet prudent enough not to overwhelm the novice with verbosity.
$ ./stockfish_14_x64_bmi2
Stockfish 14 by the Stockfish developers (see AUTHORS file)
help
Unknown command: help
?
Unknown command: ?
eat flaming death
Unknown command: eat flaming death
- LeoPanthera 5y agoI suppose you can interact with stockfish by hand, but it is designed to plug into a chess board app like xboard or others: https://www.gnu.org/software/xboard/ https://www.gnu.org/software/xboard/
- jeffbee 5y agoThanks :-] I was trying to figure out why stockfish debian package suggests xboard, but they don't work together. It is because stockfish suggests xboard and polyglot, but polyglot is required to use stockfish with xboard.
- deleted 5y ago[deleted]
- perihelions 5y agoChess 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.)
- billforsternz 5y agoThe command line interface is designed for interoperability with chess GUIs according to an informal standard called UCI. UCI is sufficiently simple that you can talk to the engine manually if you really want to but it is much (much) easier to use a chess GUI. For example Tarrasch https://triplehappy.com https://triplehappy.com (shameless plug for my chess GUI).