Questions tagged [stockfish]

Stockfish is a strong open-source chess engine.

Filter by
Sorted by
Tagged with
2
votes
0answers
23 views

Setting up Stockfish for Droidfish

I would like to set up Stockfish for the android app Droidfish. How do I set up a server for a Windows machine (my linux machine is too weak) using SF13?
2
votes
1answer
137 views

Where was Stockfish's fatal mistake in this game against Leela?

This is a game from the TCEC Season 18 superfinal, which Leela won with a beautiful positional bind. [FEN "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"] [Event "TCEC Season ...
2
votes
0answers
43 views

How do I get Stockfish to write its analysis to a file using a batch file on Windows?

I can get this to work in a Windows Command Prompt window as follows: stockfish_14_x64_modern.exe uci ucinewgame position fen rnb1kbnr/ppp1pppp/8/3q4/8/8/PPPP1PPP/RNBQKBNR w KQkq - 0 1 go depth 17 ...
3
votes
1answer
158 views

Why does Stockfish evaluate this position as equal?

After solving the puzzle while I was analyzing this endgame, I was just surprised to see stockfish evaluates this position as equal. After Ke4, Ke6 (Opposition); Kf4, and f5 -- I can't find out any ...
3
votes
0answers
89 views

Was there a bug in Stockfish similar to the bug in Houdini 6.02?

This is a follow-up question to Is Houdini 6 a Stockfish clone? Houdini 6.03 included a bugfix: "Correction for incorrect detection of stalemate in positions with white pawn capture moves." ...
3
votes
3answers
154 views

Why does Stockfish evaluate this Lichess puzzle position as so advantageous for Black?

[Event "Rated Rapid game"] [Site "https://lichess.org/tZI4OlZ3"] [Date "2021.04.20"] [White "Paulinos"] [Black "Qedesh76"] [FEN "r3qrk1/2pbbppp/...
5
votes
1answer
288 views

How do Stockfish levels work?

I read on some Lichess forum that Stockfish levels use limited computation time and search depth for lower levels. However, it seems like Stockfish also every so often inputs mistakes and blunders, ...
6
votes
0answers
240 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 ...
3
votes
2answers
155 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 ...
4
votes
2answers
142 views

Looking for an opening where stockfish puts out a queen early

I am by no means a chess person (like 1200 haha). I am designing a computer science challenge where the player has to find a bug in my chess program to beat stockfish in a game of chess. The bug is ...
6
votes
0answers
194 views

How do computers end up blundering?

I’m trying some practice games against Stockfish level eight. I always lose but sometimes Stockfish makes obviously bad moves and I get ahead. Here for example, Stockfish makes an inaccuracy followed ...
2
votes
2answers
208 views

How can I load a position without kings into an engine?

I would like to be able to do load a position into a whatever possible (advanced) engine without kings. For example, the goal of the game would be to annihilate all the possible pieces instead of ...
5
votes
1answer
150 views

Obtain information about a a position from Stockfish

I want to know from Stockfish: All possible moves in a position, a.k.a. a depth 1 analysis with no score. If the king is in check, is checkmated, or if there is a draw. The current FEN string, after ...
3
votes
2answers
175 views

Why doesn't SimpleEval's eval change in multiples of 1?

SimpleEval is Stockfish with simple eval - it only counts the material in the position and ignores all other evaluation factors like king safety or mobility. It is currently playing at TCEC. If ...
1
vote
1answer
105 views

How to install stockfish on winBoard 4.4.5?

I want to install stockfish to winBoard 4.4.5. But winBoard 4.4.5 doesn't seem to have the same protocol as stockfish. Is there a way to do it on windows 10? I would like to install the latest version ...
0
votes
1answer
76 views

Unable To Communicate with UCI through Java Program

I am writing a java program to connect to the Stockfish Engine and get the best move for some FENs. My Connection code is : public class connector { private Process engineProcess; private ...
3
votes
1answer
698 views

Using Stockfish in Commercial Apps

Stockfish uses a GPLv3 license, which requires you to release your source code if you use it. This then makes your own code GPLv3. However, chess.com, chessable and decodechess all use Stockfish. So, ...
0
votes
3answers
159 views

How to modify stockfish “skill” with python chess

I'm using this library and I couldn't find how to modify that value (skill). In any case, what I want is to be able to vary the level of difficulty of stockfish using python chess. Thanks.
1
vote
2answers
114 views

Stockfish shows only 2 next moves

For Position 1r2k1r1/pq1b1p2/1p1Rp1p1/2p1P3/2B2P2/P1N1K1P1/1P2Q3/8 b - - stockfish analysis ouput is like info depth 12 seldepth 17 multipv 1 score cp 258 nodes 80180 nps 76874 hashfull 14 tbhits 0 ...
19
votes
2answers
5k views

Is this a draw despite the Stockfish evaluation of −5?

I reached this position as Black: [Title "Black to move"] [FEN "8/8/8/3q4/6kp/7R/6P1/6K1 b - - 3 46"] And I felt that I cannot make any progress and so it feels like a draw. ...
5
votes
0answers
171 views

Highest depth ever achieved

I saw a guy that went into depth 70 with no search moves at 41, 192, 897, 168, and 184 nodes from the starting position on Stockfish a few years ago. I would like to know if this is still a record or ...
4
votes
1answer
230 views

Why is Bf8 a blunder in this position?

Here is an analysis of a game I played recently in Chess.com app. I won this match in move 19 as the opponent resigned. Please see the image attached for the position. On move 16, after the White ...
2
votes
1answer
113 views

limit stockfish 9 to a specific range of ELO rating

I am using stockfish 9 for our chess game project, and I want to limit the ELO rating of the engine to a range. I saw attributes like movetime and depth are used to limit the engine skill level, but I ...
3
votes
3answers
273 views

Stockfish depth calculations

I'm using Stockfish to analyze my blunder filled games for blunders. Let's say you send stockfish a FEN for a position and then calculate to a given depth ... position fen the-starting-position go ...
1
vote
2answers
139 views

Why was the engine giving such positive evaluations for my game with equal material?

I just played a game on chess.com that was roughly equal material until the final move (I was one pawn up for most of the game) but the engine favours my position to the extent that by move 12 I had a ...
5
votes
1answer
503 views

HalfKP Structure for Stockfish / Shogi NNUE - how does it work?

Stockfish now uses a neural network for position evaluation. The structure of this neural network was introduced for Shogi by Yu Nasu in the paper dubbed "Efficiently updatable neural network - ...
3
votes
1answer
86 views

Engines tuned to masters’s styles

I saw a stream by IM Eric Rosen where he showed a stronger version of stockfish than the one on lichess.org. He said that it is a version that is given to masters with the evaluation function ...
8
votes
2answers
2k views

Why is an early e5 against a Yugoslav setup evaluated at +2.6 according to Stockfish?

I was looking at analysis on one of my games and found this variation against a Yugoslav attempt against the Sicilian Dragon which Stockfish 12 instantly says is +2.6 for white: [FEN ""] [...
1
vote
1answer
206 views

Why does Stockfish NNUE flatline?

Flatline - to produce a flat evaluation curve. As I understand engine chess, engines "flatline" in fortress positions. In these positions there are a lot of effectively-equivalent positions ...
2
votes
2answers
168 views

Why does stockfish suggest bishop pins on knights early on?

Stockfish suggests the following pin for me (white) against the queen on the night. However, whenever I play this move in real games black just kicks the bishop off with pawn to h6. I end up just ...
12
votes
1answer
4k views

Did Stockfish regress from October to December 2020? If so, why?

NCM data If the NCM data is to be believed, somewhere around October 2020, Stockfish dev hit +370 elo vs. Stockfish 7, but has since regressed to only +360. What's going on? Only thing I can think of ...
3
votes
1answer
230 views

How to interpret lines of play computed by Stockfish during annotations

I am learning how to use Stockfish to analyze my games, and I had a question on how to understand Stockfish's output. Consider the screenshot when I request stockfish 12 to annotate my games inside ...
4
votes
0answers
88 views

Is there a mathematical way to determine whether going to depth n+1 would be x% likely to recommend the move at depth n?

I have a chess GUI which I've recently been updating to do preemptive searches (that is, depth searches for all possible opponent moves) that I'd like to speed up, since the bot searches go to at ...
1
vote
1answer
236 views

Is there any GUI for Stockfish which allows comments in macOS Big Sur?

Currently I use the built-in Stockfish app that's in the Apple Store. But unfortunately, I can't put comments in the moves. I would really appreciate it if you can give me good recommendations other ...
2
votes
1answer
632 views

How should I configure Stockfish if I want it to play as a 2800 ELO player without the UCI_LimitStrength value?

Stockfish has so many parameters that I'm not sure which one I should change so that it has a strength equivalent to that of a human who has 2800 ELO, well that's one of my wishes, the other is to be ...
5
votes
2answers
2k views

Why doesn’t Stockfish evaluate this fortress as 0.0?

I'm going through the 100 endgames you must know book on Chessable and stumbled upon something I don't understand. This position with white to move is described as a draw starting with 1. Kh1. I ...
2
votes
1answer
174 views

The best move in this Crazyhouse position according to Stockfish

I just played my first few games of Crazyhouse, and I really don't understand it. At one point I had this position. [Title "White to move"] [FEN "r2q1rk1/pbb2pp1/n1p1p2p/1p1nP3/2pPN3/...
1
vote
1answer
362 views

running stockfish with docker and docker-compose

I have access to a powerful computer at work so naturally I want to run a chess engine on it (stockfish for now and later leela). I am trying to use docker-compose to link a stockfish image and a ...
2
votes
3answers
166 views

Xboard and a remote engine

I want to analyse chess games with xboard and stockfish. Locally this is no problem. But my PC is slow, so I have rented a faster linux server, and I want let stockfish run on it. How can I use xboard ...
8
votes
3answers
4k views

How does Stockfish know if the king is in check?

I am writing a chess engine. I need to know how to tell if the king is in check. I was thinking that maybe I can use the approach that Stockfish uses. Where and how in Stockfish's code is check ...
2
votes
0answers
268 views

How to turn off Contempt in engine analysis?

I'm trying to analyze a game with the python-chess package, and for that I want to turn off the "Analysis Contempt" option in Stockfish. However, it seems it doesn't work, and I don't know ...
3
votes
3answers
1k views

Stockfish Evaluations

I've been getting Stockfish to analyse lines of the KID, and the evaluation gives a score of around +1.5: White has a big advantage. How come this is true, when the KID is a playable(and good) opening?...
4
votes
3answers
456 views

Book recommendation for chess engine building

This might be too broad a question, but can anyone recommend specific books that deal with chess engines, including hard-coded ones such as Stockfish, Komodo, and other ones also based on neural ...
3
votes
3answers
1k views

Does Stockfish NNUE have contempt implemented?

Per title. As I understand contempt, it's a setting in the eval function that adds a bonus for material remaining on the board. This makes the engine favor positions with more material (i.e. more ...
3
votes
4answers
1k 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. ...
2
votes
1answer
1k views

Unable to run Stockfish on Python

I know this isn't a programming forum, though it's chess-related, hence the placement on here. Basically, I'm trying to setup stockfish with Python on my PC. I installed it via pip install stockfish. ...
2
votes
1answer
114 views

What's the best way to get the top n engine moves?

I want to use python-chess to get the top 5 Stockfish moves from a given position with a numerical evaluation for each move. Is it more accurate to run the engine for 10 minutes with MultiPV=5, or to ...
10
votes
2answers
2k views

Three way fork-Why take the rook instead of the queen?

I just finished off a game and decided to do some analysis because I had a position that I was thinking about for a little bit. I ran the game through Stockfish and the move I was thinking about was ...
6
votes
1answer
1k views

What does Stockfish NNUE mean for Stockfish?

Apparently there was a major update to Stockfish recently such that it gained +50 elo (per regression tests). I'm told that the difference is coming from the new NNUE (efficiently updatable neural ...
17
votes
1answer
3k views

Stockfish is considering a move in a book by GM Mihail Marin as a blunder

In the book English opening volume 1 by Mihail Marin at this position [fen "3nrrk1/bppq2p1/p4p1p/2Pp4/1P1P3N/P1BQ2P1/5PKP/4RR2 w - - 2 21"] 1. Qg6 (1. Ng6) He suggests Qg6 whereas ...

1
2 3 4 5