Skip to main content

Questions tagged [stockfish]

Stockfish is a strong open-source chess engine.

Filter by
Sorted by
Tagged with
1 vote
0 answers
46 views

Stockfish engine - how to modify skill level?

I've managed to get the Stockfish engine working using python-chess. I'd like to play with the skill levels of Stockfish, but need some info. My code below uses the 'skill level' option but after an ...
Crease's user avatar
  • 11
1 vote
1 answer
63 views

How to use stockfish with c++?

I downloaded the stockfish.exe from the website and it runs fine. I just want to give it a position and to return an eval. The documentation about c++ in the stockfish website is gone. What can I do? ...
LentilesGR's user avatar
1 vote
1 answer
106 views

Is this what I should have done or should do next?

When I analyze my game, is the analysis machine (stock fish lite on chess.com) telling me what move or I should made instead of the one I just made, or is it telling me what move it thinks I should ...
Nathan's user avatar
  • 11
0 votes
3 answers
150 views

xboard and stockfish not working well together

It looks like xboard GUI and stockfish engine are not close friends. I can pick stockfish as an engine in xboard, but stockfish will not respect the time limits (unlike if it is used by chessX). ...
Gyro Gearloose's user avatar
0 votes
0 answers
38 views

bestmove from 'bestmove' in SF doesn't match bestmove from continuation when run from within another program

I've accidentally come across a very peculiar behavior whereby bestmove from 'bestmove' in SF16 doesn't match bestmove from continuation when run from within a Java program. E.g. when the following ...
tim bits's user avatar
  • 129
1 vote
0 answers
43 views

Is 'stop' not working with 'go perft' in SF a violation of UCI protocol?

According to the UCI protocol specs [ https://page.mi.fu-berlin.de/block/uci.htm ], when a 'stop' command is issued, the UCI engine should "stop calculating as soon as possible". This is not ...
tim bits's user avatar
  • 129
0 votes
0 answers
100 views

Stockfish with python-chess on ubuntu

I want to use Stockfish with a simple chess python program I am writing on Ubuntu. It uses the python-chess library and is text based at the moment. There are various references to installation ...
Beasty's user avatar
  • 1
3 votes
1 answer
209 views

In this position, why is Nb4 better than b4?

Here as white, I played b4: [FEN ""] [Startply "46"] 1. c4 g6 { A10 English Opening: Great Snake Variation } 2. Nc3 Bg7 3. g3 e6 4. Bg2 Ne7 5. Nf3 O-O 6. O-O c6 7. d3 d5 8. cxd5 ...
dsa's user avatar
  • 31
1 vote
1 answer
138 views

Why Stockfish 16 won't evaluate positions in check or checkmate?

When feeding a position in checkmate into SF16, not only it won't evaluate it as checkmated, it won't evaluate it at all: position fen 3q4/6b1/4k3/4r3/3p2Q1/B1N1R3/5R2/6K1 b eval info string NNUE ...
tim bits's user avatar
  • 129
-2 votes
1 answer
190 views

Stockfish 15 is stronger than Stockfish 16?

According to https://www.chess.com/news/view/stockfish-16-on-chesscom : Stockfish 16 is currently the most powerful chess engine in the world. The engine's latest version is significantly stronger, ...
tim bits's user avatar
  • 129
2 votes
1 answer
84 views

Starting which version of Stockfish request for bestmove stopped having fixed depth?

I am working on migrating an existing Java Stockfish wrapper to make it independent of Stockfish version it is working with. Initially it was built based on Stockfish version 10. Now it is not working ...
tim bits's user avatar
  • 129
0 votes
2 answers
108 views

Any functional Stockfish online API in 2024? (preferably with WebSocket support)

I'm on the hunt for an online Stockfish API where I can send either a FEN/PGN position or a list of moves and get back some info like evaluations / variants / best moves. I've been scouring ...
stealz's user avatar
  • 131
1 vote
3 answers
122 views

Why is the next best move Nf3, instead of moving Bg5?

I have reached to this position starting from Queens' Gambit, and in this position Stockfish 14 is suggesting that the next best move is to bring my knight out instead of moving my dark squared bishop,...
commonSense's user avatar
1 vote
1 answer
168 views

Which FIDE ratings correspond to the different Stockfish levels at 5+3?

Lichess has a Play With The Computer option on its main site, which offers Stockfish levels 1 through 8. What would their FIDE ELOs be with time control set to 5+3? (Some people on Lichess have FIDE ...
MWB's user avatar
  • 475
2 votes
1 answer
849 views

Weird Stockfish UCI output for d2d4 before and after

I am currently trying to code a training tool and am a bit confused by what Stockfish returns. Before doing d2d4 it states that this move will have a 56 centipawn advantage for White - which is what I ...
Torge's user avatar
  • 123
0 votes
1 answer
78 views

Transferring data from chess engine to statistical software

How do I extract data such as board configuration, engine evaluation, time spent per move etc from an engine into a statistical software package like stata? I am currently trying to investigate the ...
Han's user avatar
  • 31
1 vote
1 answer
151 views

Are Stockfish "Mate in X" counts ever over-optimistic?

When Stockfish gives an evaluation of, say #15, I have seen cases where this is pessimistic, and it subsequently revises its evaluation to say #9. Are there cases where it thinks it can mate in 15, ...
Steve Bennett's user avatar
0 votes
1 answer
96 views

Why does Stockfish only gives -28 to a game with only a W pawn and a B rook remaining, while it should be resolved in perfect play?

In this position (W resigned) with only a pawn and a rook remaining Stockfish should have resolved the game and say "Mate in xx" (with perfect play). However Stockfish is said to have ...
Déjà vu's user avatar
  • 627
1 vote
0 answers
47 views

Stockfish Depth 2 the same as Depth 1?

I noticed that Stockfish Depth 2 has exactly the same evaluation as at Depth 1 (see Arena output below). The number of nodes increases so something appears to be a bit inconsistent. I would have ...
Gecko's user avatar
  • 206
2 votes
1 answer
246 views

Lichess's Browser Engine vs. local Stockfish

I often come across chess commentary mentioning phrases like "this is just a weak browser engine, let's see what the proper engine says." As far as I understand, Lichess's browser engine is ...
dkol's user avatar
  • 121
-1 votes
1 answer
108 views

What could explain strange performance pattern among Stockfish engine variants?

I have run computer chess tournaments among Stockfish engines, set up for various nominal strengths. The results were really strange, some are in reverse order to their supposed performance. For ...
Ch3cks Out's user avatar
1 vote
2 answers
244 views

Why local Stockfish Eval is not matching with Chess.com and Lichess.org?

Experimenting with stockfish and stuck on a situation. [Title "The Game of the Century"] [fen ""] 1. Nf3 Nf6 2. c4 g6 3. Nc3 Bg7 4. d4 O-O 5. Bf4 d5 6. Qb3 dxc4 7. Qxc4 c6 8. e4 ...
Fazal Rasel's user avatar
2 votes
0 answers
63 views

2 Chess engines versing eachother in scid

How can I make 2 chess engines play against each other in Scid on serious game? I remember I managed to do that one time, but this time, I can't seem to find a way.
Oli's user avatar
  • 21
3 votes
2 answers
194 views

Why is this knight outpost from a Semi-Slav 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 ...
qwr's user avatar
  • 3,902
0 votes
0 answers
53 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 ...
user141410's user avatar
-2 votes
1 answer
153 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 ...
user avatar
0 votes
1 answer
261 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 ...
wdk23's user avatar
  • 90
0 votes
1 answer
376 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 ...
Vivaan Kumar's user avatar
0 votes
1 answer
146 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 ...
Matthew's user avatar
  • 369
0 votes
2 answers
158 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), ...
OverLordGoldDragon's user avatar
1 vote
1 answer
446 views

Stockfish evaluation bar like chess.com

I programmed my own chess website and I have Stockfish included (v16) to play against. I’m trying to make an evaluation bar like on chess.com but I can’t seem to figure out how. I thought about using ...
SneaZy's user avatar
  • 11
2 votes
1 answer
690 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 ...
GutenbergMuses's user avatar
0 votes
1 answer
175 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 ...
WrathianDev's user avatar
0 votes
0 answers
85 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....
James Martin's user avatar
  • 1,432
1 vote
0 answers
73 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 ...
Matthew's user avatar
  • 369
1 vote
2 answers
128 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 ...
Hugues's user avatar
  • 111
0 votes
0 answers
552 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 ...
Andrea Nerla's user avatar
-4 votes
2 answers
860 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?
waltertrentkamp's user avatar
8 votes
5 answers
1k 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 ...
Anna's user avatar
  • 216
1 vote
1 answer
134 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 ...
Kumar Gaurav's user avatar
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 ...
Lukas Kawalec's user avatar
5 votes
2 answers
1k 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, ...
Elias's user avatar
  • 51
3 votes
1 answer
1k 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 ...
Patola's user avatar
  • 133
0 votes
2 answers
663 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 ...
I_Keep_Trying's user avatar
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 ...
Jayden's user avatar
  • 43
2 votes
2 answers
343 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?
Jayden's user avatar
  • 43
1 vote
1 answer
371 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. ...
Enforce's user avatar
  • 113
2 votes
1 answer
168 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 ...
Leonard's user avatar
  • 304
7 votes
2 answers
1k 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 ...
CubicInfinity's user avatar
4 votes
1 answer
283 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, ...
CubicInfinity's user avatar

1
2 3 4 5
7