Skip to main content

Questions tagged [stockfish]

Stockfish is a strong open-source chess engine.

Filter by
Sorted by
Tagged with
10 votes
3 answers
44k views

Is there a list of approximate Elo ratings for each Stockfish level?

I want to create something that will select an appropriate Stockfish difficulty setting automatically given the player's rating. The straight Stockfish v11 that I've downloaded has 20 difficulty ...
2 votes
3 answers
348 views

Is it possible to play multiple games with Stockfish simultaneously?

I am asking this because Stockfish was accepting different FEN strings through the terminal inbetween a game, of which it is giving best moves. I have compiled Stockfish in the Ubuntu 19.04 terminal.
1 vote
1 answer
59 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 ...
7 votes
4 answers
6k views

Lc0 vs. Stockfish

Stockfish analyses many positions per second and chooses the best line. Lc0 is a neural network that immediately ignores moves which don't work, but is slower. However, somehow Stockfish is better. ...
1 vote
2 answers
238 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 ...
2 votes
1 answer
82 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 ...
0 votes
2 answers
90 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). ...
0 votes
0 answers
37 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 ...
1 vote
0 answers
41 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 ...
0 votes
0 answers
77 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 ...
3 votes
1 answer
206 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 ...
1 vote
1 answer
122 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 ...
6 votes
6 answers
1k views

Does the Stockfish engine use past matches, or does it not need such a "database"?

I have a simple question. Does the Stockfish engine use, amongst the steps of its complicated algorithm, a library/database of past matches? For such an algorithm to work, it would to need store many ...
-2 votes
1 answer
156 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, ...
2 votes
2 answers
693 views

Stockfish NNUE vs handcrafted Evaluation

I read up on Stockfish NNUE and as far as I understand it, Stockfish NNUE was (at least in early stages) trained by positions which were evaluated by the hand-crafted eval. function by stockfish. The ...
1 vote
1 answer
152 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 ...
3 votes
1 answer
880 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
97 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 ...
8 votes
3 answers
2k views

Why does it take stockfish depth 35 to find mate in 7?

My underlying question here is: What is depth? I know depth is supposedly the number of half-moves or plies from the starting position that it has calculated, in at least one line. But I feel this ...
0 votes
3 answers
303 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?
1 vote
3 answers
120 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,...
1 vote
1 answer
416 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 ...
2 votes
1 answer
844 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 ...
0 votes
1 answer
77 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 ...
1 vote
1 answer
145 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, ...
0 votes
1 answer
94 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 ...
2 votes
1 answer
3k views

What exactly means centipawns field in stockfish/uci output?

According to this page: cp the score from the engine's point of view in centipawns. but is it a score for the current (start) position of the game that I feed to engine, or it is a ...
1 vote
0 answers
45 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 ...
2 votes
1 answer
220 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 ...
-1 votes
1 answer
107 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 ...
1 vote
2 answers
214 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 votes
2 answers
760 views

Difference in chess engine strength for ''high end 64-bit multicore PCs'' vs. ''low end multicore 64-bit PCs''

I use Arena for tournaments between chess engines. The interesting thing is that in different 64-bit multi-processor computers ranking is slightly different. I was expecting that they should be the ...
2 votes
0 answers
61 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.
6 votes
2 answers
3k views

UCI engine command white giving the same move

I need help from someone who knows about UCI engines. I am giving the command by double clicking on stockfishengine.exe and manually entering commands. I wanted to play white and I am running arena to ...
3 votes
2 answers
192 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 ...
0 votes
0 answers
50 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 ...
7 votes
8 answers
2k views

Reasonable engines to test against (Not StockFish)

I've built a chess engine in Python which I've been testing against StockFish through the use of the Python-Chess package. Testing against StockFish seems/is problematic, and as a result I'm ...
8 votes
3 answers
2k views

How is Stockfish so fast?

I'm currently developing a bitboard-based chess engine for fun and can generate around 5.5 million positions per second on perft tests. I ran the same tests on Stockfish, which can do around 130 ...
-2 votes
1 answer
149 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
235 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 ...
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, ...
0 votes
1 answer
337 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
143 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 ...
4 votes
2 answers
2k views

UCI go with depth and movetime

Is it possible to perform analysis with stockfish for a given depth, but stop in case it is taking longer than a specified time? Something like this: go depth 17 max movetime 10000 or setoption ...
0 votes
2 answers
150 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), ...
2 votes
1 answer
637 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
158 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
84 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
71 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
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 ...

1
2 3 4 5
7