Questions tagged [stockfish]
Stockfish is a strong open-source chess engine.
317
questions
0
votes
0
answers
20
views
Why does stockfish think this knight outpost from a Semi-Slav is an inaccuracy?
[fen "rn1qk2r/4bppp/p1p1pn2/1p4B1/3P4/2NQPN2/PP3PPP/R3K2R w KQkq - 0 12"]
I played Ne5 which I thought was reasonable as it targets c6. But Stockfish 14+ goes from +1.1 to +0.2. What is the ...
0
votes
0
answers
36
views
How to use chessbase to find moves that produce "only winning sequences" if present?
A lot of times you may find yourself in a losing position, and with best play surely, you'll stay losing, but there is a possibility that you make a move which is not necessarily considered the best ...
-2
votes
1
answer
135
views
Are Chess Engines Humanoid Figures?
On Youtube it shows chess engines as humanoid robots (here, for instance). Is this true, and if so do they play chess over the board according to their software? That would explain why they don't ...
0
votes
1
answer
97
views
How to run perft with Stockfish in the terminal on a macbook?
I just got a Macbook and I'm attempting to build a chess engine, so I want to run the perft function on Stockfish to compare my perft results. When I was on PC, I was able to download the engine from ...
0
votes
1
answer
68
views
How to get a list of top number of moves in stockfish uci format?
This is what I have written so far:
stockfish.postMessage("uci");
stockfish.postMessage("ucinewgame");
stockfish.postMessage(`isready`);
stockfish.postMessage(`position startpos ...
0
votes
1
answer
91
views
Cloud computing for ICCF?
I’ve been looking for a cloud computing service that can run the latest stockfish dev build. Chessify only goes to stockfish 16 and I can’t for the life of me figure out chessbase. If the answer is a ...
0
votes
2
answers
122
views
Stockfish misses mate in 11 with 10 pieces [duplicate]
I fed @HaukeReddmann's "hack" to this scenario
[FEN "8/p7/rp6/rp6/pP6/R7/8/K6k w - - 0 1"]
to Lichess Stockfish 14, white to move. Up to Depth 77 (after which I gave up waiting), ...
0
votes
0
answers
78
views
Stockfish Evaluation Bar like chess.com
I programmed my own chess website and I have stockfish included (v16) to play against.
Im trying to make an evaluation bar like on chess.com but I cant seem to figure out how. I thought about using ...
2
votes
1
answer
153
views
Scid Vs. PC | Using Stockfish on Linux [duplicate]
I have downloaded Stockfish 16 from their site at:
https://stockfishchess.org/
Using the command line in linux (I'm a newb), I have compiled it in the 'src' folder. After this, the exec file appears ...
-1
votes
1
answer
105
views
What are the strengths of different Chess Engines? [duplicate]
I personally use Komodo most of the time, but lots of people use stockfish. What are the differences between engines and what do they help you improve on better compared to other engines.
Tl;DR Where ...
0
votes
0
answers
71
views
Why does Stockfish continue analysis and report a non-zero result for a position with insufficient material?
In the position shown in the image, Stockfish (via the lichess interface) shows a top line of 91 ... Rxe5 92. Bxe5 Kxe5 93. Kc5 Kf5. 94 Kd5 Kf4 and so on. It reports an evaluation of +0.1 for the line....
1
vote
0
answers
60
views
Record stockfish level 8 in atomic?
What is the shortest possible game against Stockfish at its hardest setting in
Atomic Chess? You cannot allow the computer to blunder the game on move 1 or 2, otherwise the shortest possible game is 3 ...
1
vote
2
answers
91
views
Is Stockfish reliable as far as draw conclusions is concerned?
I just stumbled across this endgame :
https://www.365chess.com/game.php?back=1&gid=134885&m=24
Basically, Black has only a Queen, White has Queen and Rook. Black resigns.
But here comes the ...
0
votes
0
answers
287
views
Is there any stockfish web api?
I would like to create a web page with a stockfish analysis which evaluates the sharpness of position, but to do that I would like to avoid to upload myself a Stockfish program in the cloud. I would ...
-4
votes
2
answers
296
views
If Magnus Carlsen had the Bishop Pair would he be able to beat Stockfish?
If Magnus Carlsen had neither knight at the start of the game and stockfish had neither bishop would Magnus Carlsen be able to beat Stockfish?
8
votes
5
answers
744
views
How strong is Stockfish's positional understanding without AB search?
At zero depth/search, i.e. only using its neural net, Stockfish's tactics would, of course, be abysmal, but how strong is its positional evaluation? Can it be compared to grandmasters or to club ...
1
vote
1
answer
108
views
How to use Static Analysis of any chess engine
Probably all chess engine uses static analysis to evaluate the position and find moves.
My question is that how can a human make use of static analysis?
In Stockfish static analysis comes using the ...
15
votes
5
answers
4k
views
Is there a way to use Stockfish to see tactics that aren't necessarily great?
Basically - I want to utilize an engine to see tactics through the whole game, regardless of whether they're a good move or not. Sometimes, Stockfish may say a position is absolutely winning, but the ...
5
votes
2
answers
541
views
How to run lichess stockfish analysis locally?
I am working on a research project where we need to run stockfish on hundreds of thousands of pgns we have collected. We need to extract all information generated from stockfish like centipawns, ...
2
votes
1
answer
525
views
Is there a way to get blunders, mistakes and inaccuracies using Stockfish?
Stockfish provides the best moves/lines but is there a command or technique to get inaccuracies, mistakes and blunders? How is this done by lichess or chess.com?
They also have the ability to show an ...
0
votes
2
answers
237
views
Chess game/gui in C++/SDL. Integrating Stockfish. Mostly all is working, but is it possible to find all legal moves for a specified square/piece?
I've never worked with Stockfish or anything command line based like this before, so it took me a lot of getting used to in send/receiving the messages etc.
I do now have a C++ game project set up and ...
1
vote
1
answer
1k
views
Would Quadruple forking be considered a brilliant move according to Stockfish?
Is a quadruple fork (the image above) considered a brilliant move according to Stockfish?
I was just curious to know if Stockfish considers this a brilliant move, but at the same time, I'm not sure ...
2
votes
2
answers
227
views
What does Depth mean in Stockfish Game Analysis?
When I'm observing a game, the evaluation bar works and above the moves list, there is a numerical value for depth. But what is Stockfish depth and what does it measure or tell?
1
vote
1
answer
177
views
Extract evaluation data from Stockfish in Cpp
I am working on a chess player-rating system based on engine evaluations. As part of this I would like to extract evaluation data from Stockfish for the top 10 moves in a given set of positions.
...
2
votes
1
answer
131
views
Macintosh: Seeking client with better listing format than Stockfish
I currently use the Stockfish client on my Macintosh, but don't like the way it displays the moves (left to right, no line breaks between moves, annotation in-line, branches hard to follow).
Are there ...
7
votes
2
answers
825
views
Does normal Stockfish handle Chess960?
Is vanilla Stockfish perfectly capable of understanding Chess960 games (including the way castling works), or do you need to use something like Fairy-Stockfish to get the best results?
It seems like ...
4
votes
1
answer
255
views
Does Stockfish 15.1 view the stage of the game continuously or discretely, if at all?
If I understand correctly, Stockfish (15.1 at the time of asking this) values material differently according to the stage of the game, "stages" being analogous to what we call opening, ...
1
vote
2
answers
130
views
How to arrange engine games
I have heard in various places that we can make engines play against each other from a certain given position. I want to know how exactly to do that. Is there a website where I can put a position and ...
1
vote
1
answer
290
views
What is the Depth reached by chess-AI agents on a regular computer?
I'm looking for some reference for the number of lookahead steps typically used by chess agents (Stockfish / Leela Chess Zero / others?)
From a quick search I found that:
the answer depends on:
...
2
votes
1
answer
68
views
What determines length of stockfish 'pv'?
Normally the length (sequence of moves) of what stockfish info prints out as 'pv' matches the search depth, but sometimes it doesn't. When determines its length?
0
votes
2
answers
497
views
Why does stockfish give "-28.8" as the evaluation number for this position?
[FEN "5K2/8/5k2/5b2/6b1/5b1b/4b1b1/7b w - - 0 1"]
This game is an immediate draw by insufficient material (Doesn't Stockfish know this?). I am wondering what the reason behind the score &...
10
votes
5
answers
3k
views
Why doesn't Stockfish announce when it solved a position as a book draw similar to how it announces a forced mate?
I notice that when Stockfish has solved a position to mate it announces that checkmate is unavoidable in some number of moves so it's impossible to mistaken a position Stockfish has solved as a win ...
3
votes
0
answers
156
views
Are these depth-41 Stockfish evals the result of a horizon effect?
I was using lichess's analysis board for Stockfish's analysis of this line in the French:
[Title "French Defence, Steinitz Variation"]
[StartFlipped "0"]
[fen ""]
1. e4 ...
-1
votes
1
answer
130
views
Why does Stockfish evaluates the trade of a B vs N that bad, while the trade has the King in the open and doubles pawns?
In this position (White to play)
(Picture credits to the chess compass extension that analyzes a chess.com game after it ended)
The current Stockfish evaluation (before White plays) is ~0.0.
But SF ...
3
votes
2
answers
209
views
Why does stockfish make these strange recommendations?
The FEN is:
r2qk1r1/ppp2p1p/2n1bn1Q/4p1B1/8/2P4P/PP1NpKP1/R5NR b kq - 0 1
Clearly black is winning because the white bishop can be captured (with a discovery available if white recaptures). However, ...
4
votes
1
answer
213
views
Are endgame tablebases included with Stockfish?
I just downloaded Stockfish as a .exe file for use with SCID vs PC. Are tablebases included with the executable? If not, how can I make Stockfish use them while analysing a game with SCID vs PC?
I ...
0
votes
1
answer
228
views
Game analysis app for Mac?
I am using a Mac and trying to find an app that can analyse the whole game and tell me where the mistakes/inaccuracies/blunders are, instead of just telling me what I should do for the next move.
The &...
8
votes
3
answers
4k
views
Why does Stockfish suggest this move (25. Qxa6?)
In this position, why does Stockfish suggest the move 1. Qxa6?
Also, after 25. ...bxa6, Stockfish also suggests 26. Rd7+, which is followed by 26. ...Bxd7 and 27. Rxd7+.
White would just have traded a ...
0
votes
2
answers
232
views
I downloaded stockfish 15 ,the POPCNT version. It downloaded, but I don't know how to open it to play chess. Can you help me?
I downloaded stockfish 15 ,the POPCNT version. It downloaded, but I don't know how to open it to play chess. Can you help me?
6
votes
2
answers
971
views
How to program Ruthlessly Aggressive Chess AI?
For the past few months, I have been experimenting with Stockfish with the goal of making the AI more fun to play against.
Stockfish is obviously a very powerful Chess AI but it plays very ...
3
votes
1
answer
372
views
How can I query the current value of an UCI option?
I've got a (simple) question regarding the UCI options and their current values:
I start my engine (e. g. Stockfish).
The console opens and I enter "uci" and press [Enter]. As a result, I ...
6
votes
1
answer
312
views
Why does Stockfish change evaluations and best moves depending on the number of displayed variations?
No matter whether I test it online on lichess or locally: Stockfish shows different variations and evaluations depending on the number of variations displayed.
Where does this behaviour come from, and ...
4
votes
1
answer
245
views
How do I get the solutions of the puzzle using stockfish?
I have a list of PGN files that are games between top grandmasters where one player resigned at the end of the game. I am looking to find solutions to those position using stockfish/or another chess ...
2
votes
2
answers
7k
views
What is Stockfish 15's FIDE calibrated Elo rating?
Elo rating only makes sense based on the population of players. So I wonder, has Stockfish's Elo been calculated in a pool including humans or human-calibrated engines?
Related: How accurate are chess ...
8
votes
2
answers
2k
views
Why does Stockfish recommend this queen sacrifice in this puzzle?
[Variant "From Position"]
[FEN "r1b1r1k1/pp3ppp/2p5/2Ppn1q1/1P1Q2B1/4P1N1/P4PPP/R4RK1 w - - 9 18"]
[Title ""]
1. Bxc8 Raxc8 2. f4
https://lichess.org/training/fRzq3
The ...
8
votes
1
answer
810
views
Why do Engines show a fraction for the "Depth" and "Current Node" values?
Forgive me if this has been asked elsewhere, but I've both Googled and searched here at CSE and cannot find an answer.
When I'm using an Engine for analysis (in this case, Stockfish 15), I've noticed ...
2
votes
2
answers
1k
views
Can't properly use python stockfish package in Mac
I'm trying to get stockfish for python working but I am running into issues. This is my code so far.
from stockfish import Stockfish
stockfish = Stockfish('/Users/Me/opt/anaconda3/lib/python3.9/site-...
1
vote
1
answer
650
views
StockFish under WIndows 8 doesn't work
I'm trying to run StockFish under WIndows 8.1, but I'm just getting the prompt as copied below. Also, Winboard Load First/Second Engine doesn't work: nothing is happening. How can I run StockFish ?
2
votes
1
answer
1k
views
Using stockfish from command line to calculate the total number of legal moves for each side after a given move
I am running stockfish 15 from the command line. I'm wondering if there is an easy way for Stockfish to report the total number of legal moves (safe, or otherwise) for each side after a given move.
...
4
votes
1
answer
550
views
How do you nerf Stockfish to analyze the same position multiple times?
I want to make some statistics by analyzing the same position, multiple times, at different levels of Stockfish.
Precisely, I would like Stockfish to analyze a specific position at different "...