Questions tagged [stockfish]

Stockfish is a strong open-source chess engine.

Stockfish is a strong open-source chess engine, in the same league as commercial engines such as Houdini and Rybka.

331 questions
5
votes
1 answer

How to understand Stockfish's source code?

I want to code a Chinese chess engine, and I want to modify the Stockfish source code to do so, but the Stockfish source code is too hard to understand. There is no document that explains everything. I don't know where to start. For example, today I…
hdvd2309
  • 71
  • 4
5
votes
1 answer

How to set threads number for Stockfish?

How to set number of thread parameter for Stockfish? I read about Stockfish parameters but there is not description how to set it? http://support.stockfishchess.org/kb/advanced-topics/engine-parameters
Chameleon
  • 515
  • 5
  • 15
4
votes
0 answers

Understand Stockfish NNUE

I am currently trying to understand the Stockfish NNUE HalfKP 256x2-32-32 neural network, which is listed on chessprogramming.org. I understand the way how the board is interpreted. What I don't fully understand is how the evaluation actually…
Phil3453
  • 91
  • 3
3
votes
1 answer

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 get a list of options which the engine supports, with their…
3
votes
2 answers

Is there a hash or string that represents a stockfish evaluation of a position to a certain depth?

Is there a hash or string that represents a stockfish evaluation of a position to a certain depth? For example for a given FEN, can you analyze to a depth of say 10 and get a hash to represent that position AND depth of analysis? That would allow…
honkskillet
  • 401
  • 2
  • 10
2
votes
3 answers

How to save/open games on Stockfish for Mac

I just downloaded Stockfish, input a couple games, and saved them. They look like generic documents when I save and try to open. I just used the default Save function in Stockfish. Finder tells me they are .pgn documents. The problem is when I try…
2
votes
0 answers

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 anymore with the latest version, which is…
Lumachado
  • 25
  • 1
2
votes
1 answer

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 essentially the same as Stockfish, albeit potentially…
dkol
  • 121
  • 3
2
votes
2 answers

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
  • 43
  • 3
2
votes
1 answer

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?
Evan Russek
  • 117
  • 3
2
votes
1 answer

Neurons Stockfish NNUE

I am referring to this picture. What do the individual neurons in the ANN do? Do they represent criteria for the evaluation, like for example material, pawn structure, king safety and so on?
Phil3453
  • 91
  • 3
2
votes
1 answer

What does this paragraph about Stockfish's regression tests mean?

Source Point 5: Elo estimates of single patches (SPRT runs) typically come with large error bars. Take this into account when adding Elo estimates. Furthermore, Elo estimates of passing patches are biased. The SPRT Elo estimates are only unbiased…
Allure
  • 26,534
  • 1
  • 68
  • 146
2
votes
1 answer

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.
AKA
  • 23
  • 4
2
votes
4 answers

Why is Stockfish giving me this weird move?

When I ask for the best move for this FEN: 1rbq1rk1/b4p2/p2p3p/3Bp3/P3P3/2P4P/R2Q1PP1/4K2R w -- - 0 30 [FEN "1rbq1rk1/b4p2/p2p3p/3Bp3/P3P3/2P4P/R2Q1PP1/4K2R w - - 0 30"] Stockfish (via Python) replies e1e2 which is a losing move, since there's…
Mareo
  • 29
  • 1
2
votes
2 answers

Bug in Stockfish/Suggesting bad move

Why does Stockfish suggest this move in this position for white? It is a clear losing position if the king moves that way, as supposed to a draw if the king chooses f7 instead... This is a real game that ended up this way.
Habbo
  • 821
  • 1
  • 7
  • 9
1
2 3