Questions tagged [stockfish]

Stockfish is a strong open-source chess engine.

Filter by
Sorted by
Tagged with
3
votes
3answers
202 views

Did Leela Zero miss a win in this position?

Did Leela Zero miss a win in this position from game 106 of the Computer Chess Championship, on move 83 with White to move? [FEN "8/2p1r3/2P4k/1P1pB2p/K2NbP1R/P5r1/8/8 w - - 0 1"] Here, ...
5
votes
1answer
99 views

Move evaluation on armageddon games

I am wondering if there is a Stockfish-like evaluation of moves that could take in account armageddon rules, the rules being that you lose if you draw. I would imagine a strategy of just trading ...
3
votes
1answer
73 views

Which engine is better at Chess960-Sttockfish or Leela?

It seems that TCEC has seen Stockfish and Leela go back and forth. It is probable that these days Stockfish is a little bit better than Leela. So, I was wondering since it is different in Chess960, ...
3
votes
2answers
114 views

Alphazero vs Stockfish

Is the particular ending really a draw? Someone may try will FinalGen , please? [Title "White to move"] [fen "8/1B2k3/p7/P6p/1n1p2pP/6P1/4KP2/8 w - - 0 1"]
31
votes
8answers
17k views

Is Stockfish 11 (level 20) beatable?

I have heard many people saying, “Hah! I beat Stockfish,” and one saying, “I am the best chess player ever! I beat Stockfish.” So I wonder if it is possible, just to know whether I should try to beat ...
2
votes
1answer
722 views

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 ...
10
votes
4answers
4k views

Why is White considered so much better in this position?

I'm not sure I understand why Stockfish considers White so much better here. A look at the two strongest lines for White by Stockfish doesn't really give me much intuition about what White is playing ...
3
votes
2answers
100 views

Compiling Stockfish to disable own castling while allowing opponent castling

For artistic purposes, I would like to create and study engine games in which only one side is able to castle. For this, I need to compile a version of Stockfish which never castles, and doesn't ...
-2
votes
1answer
98 views

How is AlphaZero defferent from Stockfish?

Obviously one is better than the other and AlphaZero uses machine learning and all, but what is the real reason for their different style of play? Given a position, both evaluate the next best move ...
1
vote
1answer
80 views

Why is stockfish not accepting my move?

I am trying to play with stockfish from terminal. I entered the following commands: position startpos e2e4 d The output was: Why is stockfish not accepting my move?
3
votes
2answers
97 views

How to get static evaluation from Stockfish in case that a king is in check?

I am working on a program that should recognize the difference between human and computer players. For this purpose, I need some parameters. A part of them would be the individual values of the static ...
2
votes
0answers
25 views

Stockfish Transposition Table: 16 bit key equals 0 even if the key is found?

In Stockfish 11, they use the high 16 bits as key inside the cluster: const uint16_t key16 = key >> 48; // Use the high 16 bits as key inside the cluster This renders problem when key >> ...
1
vote
1answer
88 views

Mate In N algorithm-Lichess Computer Analysis

Is it possible to have the computer analysis report mate in 12 moves to only change that to mate in higher number of moves, like 15 for example, after it searches deeper?
24
votes
7answers
5k views

Would an ensemble of chess engines beat the best one?

In many areas such as prediction and classification, ensemble methods tend to outperform individual methods. This made me wonder if it would make sense to pick a few of the top chess engines and work ...
5
votes
2answers
1k views

What is 'Depth' in Lichess game analysis?

I have started analyzing my games in Lichess. I'm wondering what does Depth mean in the Stockfish analysis?
4
votes
1answer
102 views

Trapped Rooks: Does Stockfish penalize more if the king can't castle temporarily?

In this talkchess thread, they discuss trapped rooks and castling rights. In post #5, user @Lyudmil Tsvetkov posted: I would give at least some 10-15cps for temporary prevention of castling. Here is ...
4
votes
1answer
111 views

Which chess GUIs support the chess variants Atomic and King of the Hill?

I want to play against Stockfish offline because I'm going on a trip. I downloaded the compiled exe from GitHub since my laptop will have limited Internet connection. After loading it into the Arena ...
1
vote
1answer
74 views

Using Stockfish in an automated way, for example, to analyze games in pgn format

I am looking for a way to use Stockfish for an automated analysis of games which I have in pgn format. Similar to Fritz/Chessbase's Blunder Check function I would like Stockfish (or any other UCI ...
3
votes
0answers
49 views

Probability of given position/piece configuration

I'm currently working on an image based FEN generator. I found a paper doing the same and they have used Stockfish to calculate the most probable piece configurations. Now I wonder if Stockfish has ...
3
votes
1answer
83 views

When Lichess analyzes a game, how deep does it analysis?

In reference to the request computer analysis feature, how how deep is Stockfish analyzing, such as looking 12 moves ahead?
3
votes
2answers
135 views

Good against low-level humans but bad against low-level computer

I'm probably what you'd call an advanced beginner. I spend most of my chess time solving puzzles on Lichess, which tend to focus on midgame calculation, making beneficial trades, and finding ...
5
votes
1answer
233 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 ...
1
vote
2answers
179 views

Using the Stockfish move generator in a home chess engine

Basically, I’m creating a chess AI and I want to focus on the search algorithm rather than the most complete way or fastest move generation portions. So, for now, I was thinking I could use a prebuilt ...
2
votes
3answers
391 views

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) ...
1
vote
1answer
37 views

How do you manually set switches when you are compiling Stockfish in Visual Studio? [closed]

How do you manually set switches when you are compiling Stockfish in Visual Studio? In the type.h file it saids: When Makefile is not used (e.g. with Microsoft Visual Studio) some switches need ...
18
votes
8answers
7k views

Why is exchanging the queens bad in this position?

Stockfish gives +6.6 to the following position. The recommended move by stockfish is Rc1 which maintains +6.6 advantage but if I exchange the queens right away (Qxd6), stockfish gives me +5. What's ...
12
votes
6answers
705 views

Why does Fishtesting test Stockfish against itself, not other engines?

As I understand the so-called Fishtesting, people write patches, then try the patches against the current version of Stockfish. If the new version performs better, it's promoted to be the main version;...
21
votes
3answers
3k views

Why doesn't Lichess' Stockfish suggest this bishop sacrifice?

I arrived at the following position in an online game after the opponent left a queen hanging. [FEN "r1b2r2/pp1p1ppk/2n1p3/6B1/2P5/5N2/PQ3PPP/R4RK1 w - - 0 16"] In the game, I played 16. Bf6 with ...
4
votes
1answer
360 views

Which is better-Stockfish 10 or AlphaZero?

I know AlphaZero (an AI) is one of the best top chess engines but Stockfish is also improving. Which one is better at chess? Also is there a new Stockfish level?
1
vote
1answer
187 views

Is there any game where AlphaZero wins against Stockfish thanks to a knight pair?

I have seen some of the games that were published in the match between AlphaZero and Stockfish. In many games, as when it beats Stockfish as black playing the Berlin Defense, AlphaZero appears to ...
3
votes
1answer
510 views

Getting Stockfish to find all mates-in-n

How do you make Stockfish find all mates in 2 or 3 from a given position? I know I need to use Scid, but not much beyond that.
5
votes
2answers
173 views

Stockfish draw value randomization and “3-fold blindness”

In this commit, a change was made to the way Stockfish scores board positions that are draws due to 3-fold repetition or 50-move limits. Prior to this commit, a drawn position was assigned a score of ...
1
vote
1answer
169 views

Mate-in-10 that Stockfish missed!

Stockfish 10+ at depth 19 evaluated this position as a draw: [Title "White to play and mate in 10"] [FEN "r1b2r2/5pk1/pq2p3/1p5Q/3p1P2/P2Rn1NP/1P4P1/7K w - - 0 28"] However, it is actually checkmate ...
2
votes
2answers
64 views

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 ...
4
votes
1answer
72 views

Help me choose hardware configuration

I am preparing to buy a new desktop computer. I would like to use it for chess analysis with both StockFish and Lc0. My budget is slightly above 2K euros. QUESTIONS: This is my first time ...
29
votes
4answers
5k views

Why does Stockfish undervalue pawns when compared to the classical “a piece is worth three pawns” approach?

I was taking a look at values engines give to pawns and piece and was quite shocked by Stockfish values for middlegame (Mg): PawnValueMg = 128 KnightValueMg = 721 ~ 5.6 pawns BishopValueMg = 825 ~ ...
6
votes
6answers
11k views

GUI for stockfish that can analyse the full game

I am looking for a GUI for stockfish that can analyse the whole chess game and give me the following output: For every move in the game, it should give me a list of N (let it be 3) best moves with a ...
3
votes
1answer
161 views

How to understand Stockfish’s source code?

I am a newbie. I want to code a chinese chess engine, and I want to modify Stockfish source code to do so. But the Stockfish source code is too hard to understand. There are no document to explain ...
1
vote
1answer
52 views

Stockfish: different nodes numbers with identical calls

I ran Stockfish 2 times with the command go depth 1. First time info depth 1 seldepth 1 multipv 1 score cp 114 nodes 20 nps 10000 tbhits 0 time 2 pv e2e3 Second time: info depth 1 seldepth 1 ...
1
vote
0answers
59 views

How can I set up xboard with an engine in Linux?

I'm trying to use xboard in Fedora and have only been able to get it to work under very specific circumstances. I installed it through my package manager and installed Stockfish as well. Without ...
5
votes
2answers
145 views

What makes a move “weird”?

I am not sure if this question has been asked before, but I recently had a friend, who is a NM, play a blitz match against stockfish (level 12 I believe) and commentate its playing style. What struck ...
2
votes
2answers
656 views

Stockfish perft displays reversed game notation?

I'm debugging my engine using Stockfish, and I suddenly notice a massive difference between mine and Stockfish. Board and fen string +---+---+---+---+---+---+---+---+ | r | n | b | q | | k | | ...
21
votes
3answers
4k views

Why is Leela so good at beating Stockfish in the French/Slav?

I notice Lc0 is especially good against Stockfish in French / Slav pawn structures. However, I don't understand why. Here're a couple of games where Leela smoothly outplays Stockfish. Can anyone ...
14
votes
3answers
3k views

Is Houdini 6 a Stockfish clone?

I've been hearing this claim being bandied about quite a lot and I'm wondering if there's any substance to it. Apparently the details are in a certain thread on Talkchess, but it's not viewable to non-...
2
votes
1answer
98 views

Lichess' Stockfish's tuning

I remark that whatever the level of the Lichess' Stockfish I choose it plays in average at the same speed. How could I tune my Stockfish (the one I use in Fritz or Arena) to achieve the same with the ...
5
votes
3answers
545 views

Solvable studies that computers fail to crack

Are there chess studies that require an outside of the box thinking that goes beyond the concrete calculation capabilities of today's engines (e.g. Stockfish)? I have sometimes seen certain endgames ...
10
votes
3answers
3k views

Why does Stockfish suggest capturing a bishop in this position when my opponent can fork my king and rook?

The position in question is: [FEN ""] [StartPly "13"] 1. d4 c5 2. Nf3 cxd4 3. Nxd4 Nc6 4. Nc3 e5 5. Ndb5 Bb4 6. Bg5 Bxc3+ 7. bxc3 Qa5 8. Qd5 Nge7 9. Nd6+ Kf8 10. Qxf7# 1-0 It's black turn and the ...
2
votes
2answers
103 views

Early line in english opening not in the chessbase powerbook 2019 but seen by stockfish 10 64bits under latest fritz

I am looking at 1.c4 Nf6 2.g3 d5 3.Bg2 dxc4 4.Nf3 and Chessbase's Powerbook 2019 only proposes 4...c6, 4...g6, 4...a6, 4...Nbd7, 4...Qd6 or 4...Be6 whereas Fritz 17 64bits latest update using ...
2
votes
1answer
8k views

How to use stockfish for ChessBase? [duplicate]

I have downloaded Stockfish 6 and also I have ChessBase 13 64-bit. I have unzipped to Stockfish how do I combine the two so I can use Stockfish?
2
votes
3answers
853 views

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 ...