New answers tagged

2

Since I could not find any complete explanation, I followed the eternal advice "Use the source, Luke". The Stockfish authors did a great job because their code is easily followable and commented. Relevant parts from search.cpp: // If skill level is enabled, swap best PV line with the sub-optimal one if (skill.enabled()) std::swap(...


1

If you want to analyze a single game, IMHO the cleanest and best solution is to do that, as if stockfish would play a game against some other opponent, apart from the time control. Since this resembles the way, stockfish is tested and will always work. Note that it is important to command position startpos moves .... and not position <fen> since ...


4

Technically, Stockfish does make use of past matches, just not when it's playing. The way it uses its past matches is during training, when a new neural network (NNUE in Stockfish's case) is being trained. Once the NNUE is trained, though, it is "standalone" and does not change anymore. The Stockfish you can download and play has an already-trained ...


0

does the Stockfish engine need to be fed data from past matches No. You are confusing Stockfish with AlphaZero. The two engines work in entirely different ways. Stockfish works by using brute force calculation plus clever evaluation functions to determine what is the best move in any position. During a game it maintains hash tables of positions and ...


2

If you can en passant any enemy piece and the engine doesn't know about it, you don't need to trick Stockfish into bringing its queen out early. You can play almost any way you want and let the game come to you eventually. I guess a quick example can come from the Alekhine Defence. After 1.e4 Nf6 2.e5 Nd5, if I understood correctly you can put yourself a ...


0

Yep, there are a number of examples, I've included three here. In each of these lines Black is playing objectively good moves for the entire time, but Stockfish still may deviate early on and play some equally good move instead. However, when if it makes it to the point when it's deciding whether to do the final queen move, it should go for it in all three ...


Top 50 recent answers are included