Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [stockfish]

Stockfish is a strong open-source chess engine.

36
votes
11answers
20k views

How is Alpha Zero “more human”?

I have a possibly naive question about AlphaZero. I have seen it described as playing in a "more human" style than other computers, but whatever it does, it gains about 100 ELO points by doing it. ...
28
votes
2answers
6k views

Understanding AlphaZero

Very recently, the news came out that Alphabet's DeepMind research team have extended their machine learning engine to play both Shogi and chess. Apparently, after only a few hours of self-learning, ...
23
votes
6answers
21k views

How to install stockfish on ubuntu?

Is there an easy guide how to install stockfish on ubuntu? From the main site I can not find any information and github repository does not provide many details. I would really appreciate if someone ...
21
votes
7answers
12k views

Hardware used in AlphaZero vs Stockfish match

I understand that AlphaZero has to use a different kind of hardware than regular Stockfish. I would expect that the hardware has a large effect on engine strength. That's why I wonder whether there ...
20
votes
2answers
3k views

Stockfish blunders away a piece

Using stockfish_8_x64 with Arena 3.5.1, I see a weird pick by Stockfish. Start here: White, Stockfish, to move. It plays bb6-g1,losing the bishop and the win. Also strange: the same engine ...
15
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 ...
13
votes
1answer
55k views

How to download Stockfish and install it on the Fritz/ChessBase GUI?

I'm on Windows 8. I have the Fritz/ChessBase GUI since I bought both Fritz 12 and Houdini 3 Pro. I would like to know how exactly can I download and install the free latest version (and most powerful ...
9
votes
3answers
3k views

Why are Leela's fans so passionate? [closed]

The neural-network engine Leela is a relatively new one. It's also got some extremely passionate fans. For example they write things like this: Wait 5-6 months, and we will see SF8 on uber-duper ...
7
votes
5answers
227 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;...
7
votes
3answers
956 views

Why does Stockfish prefer White here?

My analysis of the position: Materially, black is a pawn up. White's rooks and bishop are active. White has potential counterplay on Black's Kingside but I think it can be defended by the move Ng6. ...
7
votes
1answer
2k views

Do Stockfish and the tablebase work together or independently?

I use Arena GUI together with stockfish in engine games. I want to download a 6-piece tablebase but that is just a lot of work (and perhaps unnecessary). If I download the tablebase (syzygy), does ...
7
votes
2answers
13k views

Playing chess on a Mac with Stockfish and some GUI

I have a Macbook OS X 10.6 and want to play chess against a challenging program. I'm not very computationally inclined but it seems that I need to download Stockfish and some UCI-compatible GUI. I ...
7
votes
2answers
3k views

Why does Stockfish website offer many apps to download?

I want to get a strong engine to practice while I'm not home. Look at: http://stockfishchess.org/download, we see a list of apps to download for the Stockfish engine. Why are there three apps to ...
7
votes
2answers
5k views

How does a chess engine mimic an Elo rating

I am a fairly new chess player (say 1400) and I would like to play against Stockfish and win some of the time. If I change the strength to 1400 then what does the algorithm actually do ? Does it make ...
7
votes
1answer
589 views

Why is the latest Stockfish (2.2.2) infinitely slower (than 2.1.1) in Scid?

I was about to spend some time researching this, but realized someone might have already looked into it; if not, I may just answer my own question in a few hours. Scid is pegging one core of the CPU, ...
6
votes
6answers
1k views

Can a human defeat an engine in a 10-game match if he is given the White pieces and draw odds in every game?

What would happen in a 10-game match between one of the strongest human player (Carlsen, Caruana, Aronian, Kramnik or Anand) and one of the strongest engine (Komodo, Stockfish or Houdini), but with ...
6
votes
2answers
6k views

Which binary of Stockfish 7 should I use?

Stockfish 7 for Windows comes with 3 64-bit binaries: stockfish 7 x64 bmi2.exe stockfish 7 x64 popcnt.exe stockfish 7 x64.exe All 3 of them work on my system. Which one gives the best performance?
6
votes
1answer
3k views

Stockfish evaluation of a position from PGN

I am trying to get Stockfish's evaluation of a board position(which is in PGN format) using command line.I know it accepts board position in FEN format, but is there any way i can provide PGN format? ...
6
votes
2answers
293 views

Reasoning for Rook sacrifice

[fen "rn1qk1nr/pp4p1/2p2p2/4P2p/1bp5/2NbPPP1/PP2N1BP/R1BQ1RK1 w kq - 1 11"] Komodo 8 and Stockfish agree on Nf4 here for white ( sacrificing the rook for development). It does not however show Bxf1 ...
6
votes
1answer
422 views

If I analyze a move in a position to depth 25, then why am i only up to depth 15 immediately after playing the move?

I'm using SCID with the latest Stockfish 7 on my Ubuntu PC. When I'm analyzing a position, I can see the depth counter on the left. After seeing that the move, Nf3 say, get to depth 25, I go to play ...
6
votes
2answers
2k views

Why does Stockfish give “score mate -7” for this position?

I'm running Stockfish with MultiPV=7: script: setoption name MultiPV value 7 script: ucinewgame script: position startpos moves d2d4 g8f6 c2c4 g7g6 b1c3 d7d5 c1f4 f8g7 f4e5 d5c4 e2e3 b8c6 d1a4 e8g8 ...
6
votes
1answer
1k views

Why can't I analyze with Stockfish 2.0.1 in Winboard 4.5 beta?

I have to ask an engine-related question: after I installed the Stockfish 2.0.1 engine on my Winboard 4.5 beta, I can't analyze with it. What I mean is, it's giving nothing in the engine output; it ...
5
votes
4answers
363 views

What are the mistakes that I have done in the following game?

I am a begginer and I have a rating of about 1000 Elo. I played a game against stockfish 5 but I lost the game. I know that stockfish is a very strong engine but I played against it to learn more. ...
5
votes
1answer
814 views

Oscillating Stockfish Evaluation on Laptop

I'm using stockfish-9-bmi2 on my laptop to provide me move by move evaluation of games. I've set Stockfish to evaluate to depth = 25 plys. I find that the evaluation provided oscillates move-on-move ...
5
votes
2answers
6k views

Stockfish ELO vs search depth

Could Stockfish beat Magnus Carlsen if its moves were calculated with the UCI command "go depth 16"? If not, how can I find the depth "d" at which Stockfish's strength surpasses top GMs? We assume ...
5
votes
1answer
96 views

Combining AlphaZero methods with Stockfish methods [closed]

NOTE: I asked a similar question at the ai stackexchange, but didn't get any satisfying answers, so I will post an updated version of the question here, to see if someone with more of a chess ...
5
votes
5answers
8k 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 ...
5
votes
1answer
1k views

How to make Stockfish always give the score from white's perspective in Winboard?

I use Stockfish 4 to analyze chess games in both Babaschess and Winboard. From time to time, Stockfish outputs a line with info like time, score, principal variation, etc. In Babaschess, the 'score' ...
5
votes
3answers
3k views

What is the optimal way to use Stockfish programmatically?

I have Stockfish compiled on my machine. Instead of just running the Stockfish program in the terminal, is it possible to interact with it in a separate program? For example, some basic things I ...
5
votes
2answers
1k views

How to force engine (eg. Stockfish) to play position till checkmate in Lucas Chess?

I am training endgames using Lucas Chess and playing the position from FEN against Stockfish. But sometimes I would like to have engines play the position with itself. I can achieve this in Lucas ...
5
votes
4answers
1k views

How can I analyze and annotate multiple (500) games with stockfish?

I want to analyze multiple games in one batch with Stockfish. Apart from Scid I do not know any other tool which will do it faster or better. What are som alternatives to Scid with better performance ...
4
votes
5answers
476 views

Custom Chess (game) engine

Is there a chess engine which you can use regardless of the game's rules? For example I wanna create my own chess version in which queen will also be able to move as knight or just a 10x10-square ...
4
votes
3answers
294 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 ...
4
votes
3answers
2k views

Stockfish's algorithm [duplicate]

I'm trying to understand how Stockfish thinks, how it calculates the best move. I'm reading open source code, but it's not clear. I want to know, should I know some theory about algorithms to ...
4
votes
1answer
1k views

Returning scores for all possible moves from a chess engine

I am looking for a way to return scores for all possible moves from a chess engine (preferably, Stockfish). The UCI protocol does not seem to require it, but is seems like a useful feature to include....
4
votes
1answer
605 views

Stockfish is cheating?

I am using the Arena GUI to run Stockfish. I set up the following position. [FEN "r2q1rk1/2p1bppp/p1n5/1p1pP3/3Pn3/1P3N1P/1P3PP1/RNBQR1K1 w - - 0 11"] [SetUp "1"] At a search depth of 16 half moves ...
4
votes
2answers
5k views

Since each engine has its own style of play… which engines are more positional/strategic and which engines are more sharp/tactical?

I’ve heard that each engine has its own style of play. Some are more positional and strategic, while others are more sharp and tactical. And so my question is: could you roughly sort the following ...
4
votes
1answer
165 views

Are there any attempts at writing Stockfish MCTS?

As of time of writing, there is one major traditional engine using Monte Carlo Tree Search for its search algorithm - Komodo. The MCTS version of Komodo started out weak but gained strength quickly, ...
4
votes
2answers
329 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
199 views

Why Stockfish 9 fails to see the draw?

I can reach a draw with White in the below position. The Stockfish 9, however, gives 28.1 points for black after Kf3,Ba1,Ke4,Bb2,Kd3. [FEN "8/p7/kpP5/qrp1b3/rpP2b2/pP4b1/P3K3/8 w - - 0 1"] 1. Kf3 ...
4
votes
6answers
5k views

Is it really possible to beat a stockfish level 8 computer in any time that is between 3+0 and 15+0?

I've watched a couple of games where people play against stockfish level 8 on lichess, and they pretty much lose all the time. Is it possible for someone to beat a level 8 computer in any time between ...
4
votes
2answers
4k views

Make chess engine play a particular position

I want to be able to train my mating skills by making a chess engine play positions that others have resigned from. Is there a way to make a chess engine play a particular position? I am using ...
4
votes
1answer
162 views

How does Stockfish ensure an incremental change made is beneficial?

Does Stockfish's testing framework get the new engine to play the old engine many times in a match? Since Stockfish thinks on each move according to a time limit (and not a depth limit, which gives a ...
4
votes
1answer
436 views

Using Stockfish in c# android (xamarin) app

I looked at this question Implement a chess app for Android with Stockfish but it doesn't seem to be answering what I want to ask. Maybe part of my question is topic for stack overflow forum, but ...
4
votes
2answers
161 views

Stockfish: How to do so it only gives hints to one color

When using Stockfish it gives options/hints for both white and black. How do I make it so it only shows hints of moves for black? I am using mac.
4
votes
2answers
981 views

Syzygy tablebases in xboard

I'm trying to set up the five-men syzygy tablebases for use in xboard 4.8. Stockfish 6 and Komodo 9 are both supposed to support Syzygy, but in Xboard, their SyzygyPath option is missing from the UCI ...
4
votes
1answer
179 views

How are chess engines able to rank a Mate in X above a Mate in X+Y?

According to an engine, a mate in X moves = +infinity, since it is a forced win for it. Also according to an engine, a mate in X+Y moves = +infinity, since it's a forced win (just more moves, but an ...
4
votes
1answer
179 views

Output whether the best move is “much better” or only “slightly better” than the other moves

On Oct 31, 2014, Tord Romstad wrote: The moves are not searched in descending order from best to worst. Stockfish has no idea which move is the second, third best, etc., and it doesn't have any ...
4
votes
3answers
1k views

Piping Stockfish input

I'm trying to write a Linux command line UCI interface for Stockfish. My program writes a bunch of commands to a text file and then tries to pipe them to Stockfish via the command line. My problem is, ...
4
votes
2answers
875 views

What relative point values of pieces do engines use?

Humans use: Pawn = 1 Knight = 3 Bishop = 3 Rook = 5 Queen = 9.5 Bishop pair = +0.5 But I would like to know what relative point values do engines use (preferably strong engines, like Stockfish, ...