Questions tagged [stockfish]

Stockfish is a strong open-source chess engine.

Filter by
Sorted by
Tagged with
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, ...
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....
13
votes
1answer
56k 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 ...
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 ...
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 ...
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
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 ...
2
votes
2answers
274 views

Engine output: FEN string when blundering

What is the best way to go through a database of my games and have the computer generate a FEN string as well as the next move any time I make an error greater than, say, a minor piece loss? I've ...
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 ...
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
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 ...
4
votes
3answers
310 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
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 ...
2
votes
1answer
376 views

Stop SF MultiPV from returning an upperbound

For a given position, I'd like to compute an evaluation of the 3 best moves. I send this to Stockfish: setoption name MultiPV value 3 position startpos go movetime 500.0 // search for 0.5 seconds I ...
6
votes
2answers
301 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 ...
3
votes
3answers
247 views

Why does AlphaZero evaluate on the order of 1000 times less moves than Stockfish?

According to Deep mind's article, Alpha Zero searches roughly 10,000 moves per decision, while Stockfish is around 10,000,000 moves. I'm aware that Alpha Zero uses Monte Carlo Tree Search while ...
3
votes
2answers
309 views

AlphaZero and the revenge of the Artificial Intelligence

Answering this question, @SmallChess offered this answer: Before Google's chess journey, the chess engine community believed: AI chess will not beat classical programming because neural networks ...
3
votes
1answer
2k views

How do I change Stockfish's Engine Parameters?

I have no clue how to do this, I want to change its Contempt to -100.
2
votes
2answers
2k views

C++ vs Java Engine move generation performance

I've just finished translating my Java Engine to C++11, expecting great speed improvements in move generation. The code is very straightforward and uses a pre-generate bitboards approach. I also ...