Questions tagged [stockfish]

Stockfish is a strong open-source chess engine.

Filter by
Sorted by
Tagged with
4
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 ...
6
votes
3answers
4k 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 ...
2
votes
1answer
927 views

Does Stockfish(and other chess engines) learn after an analysis? (is there a machine learning algorithm implemented in it?)

I was watching the Sinquefield Cup right now, in particular the game Svidler-Caruana. I analyzed once the position they got with Stockfish 7 64bit and it suggested the move Rf3. Svidler played instead ...
5
votes
4answers
2k 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 ...
7
votes
1answer
540 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 ...
9
votes
2answers
9k 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
2answers
384 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 ...
4
votes
1answer
398 views

Why am I getting different behaviour between using stockfish as a child node process and a CLI called process?

Copied this question from stackoverflow. Not 100% sure it belongs here but we'll see... I am building a web interface for the stockfish chess engine using Node, and I noticed that the behaviour of ...
1
vote
1answer
1k views

How to read score from stockfish - inconsistent response every call?

I was setup stockfish with: uci setoption name hash value 128 setoption name threads value 4 That I try to evaluate my first moves to learn how it works (I am programmer) but I received random ...
3
votes
2answers
2k views

Is there a way to ask stockfish from the command line if a position is “quiet”?

Is there a way to ask stockfish from the command line if a position is "quiet"? I am running a script like stockfish_fen.sh to return the analysis, but I would like to also know if stockfish considers ...
2
votes
0answers
61 views

How to reduce number of variants in annotate in Scid vs PC [closed]

I want to speed up analysis of games and disable calulation 4 variants - how can I do in Scid vs PC with Stockfish 7?
3
votes
1answer
692 views

UCI go with depth and movetime

Is it possible to perform analysis with stockfish for a given depth, but stop in case it is taking longer than a specified time? Something like this: go depth 17 max movetime 10000 or setoption ...
2
votes
1answer
539 views

How can I check the Stockfish version?

I downloaded Scid vs PC to analyse my games and I want to check what version of Stockfish is included - how can I check if it is Stockfish 6?
1
vote
1answer
375 views

UCI undo move command?

I checked the UCI specification here and I don't see a way to undo a move. I'm using stockfish, is there a way to do this? For example, how would I accomplish the following: position startpos moves ...
0
votes
1answer
1k views

When evaluating score of new position with UCI chess engine is the Hash used at all?

I am using a UCI chess engine (stockfish 6) to evaluate the score of specific positions from different games. On this stockfish help forum thread it states: Hash size is the amount of memory you want ...
5
votes
1answer
4k views

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-...
5
votes
3answers
2k 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
1k 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 ...
1
vote
1answer
259 views

getting started to develop entire chess application

Hi i love playing chess and i am software engineer.I want to create a chess web application for the sake of learning , so i need one chess engine,UI and one protocol as far as my knowledge.For chess ...
2
votes
1answer
9k 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?
1
vote
1answer
981 views

How do I make a chess engine make moves in Arena?

I've been trying to use Arena to analyze a position, but the engine is not making any moves. I'm using Stockfish, and I click "analyze" to let the engine do the work, however there are no results on ...
1
vote
0answers
110 views

Any chess engine that can start from the middle of a game [duplicate]

(i) Is there any Chess engine that can accept a partial game? E.g. 1. d4 d5 1. c4 Nf6 etc. and then start either as White or Black. I want to analyze some of my moves and want to use the Chess engine ...
0
votes
2answers
178 views

Possible to simulate specific chess situations?

I played around with cutechess and stockfish to simulate a specific situation in chess. But I ended up playing complete games against a human or cpu. Is it even possible to set up a chess situation by ...
2
votes
3answers
598 views

Duplicating the game analysis output on lichess

I'd like to automatically generate move by move analysis (based on my past games) like they have on lichess for imported games. My guess is that I need to run a full stockfish analysis for each move (...
4
votes
2answers
2k views

Adjusting parameters in the engine stockfish 6

I downloaded Stockfish 6 (a binary file for Windows). It works, but I miss two things: The depth seems to be rather low. How can I increase the selectivity? How can I achieve that the engine uses the ...
4
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
3answers
871 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 ...
5
votes
4answers
375 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. ...
4
votes
3answers
3k views

Reading PGN files using Stockfish engine

Is there a way to read a .PGN file using Stockfish engine? If there is can you please give a sample commmand? THanks
6
votes
1answer
2k views

UCI engine command white giving the same move

I need help from someone who knows about UCI engines. I am giving the command by double clicking on stockfishengine.exe and manually entering commands. I wanted to play white and I am running arena to ...
2
votes
2answers
3k views

UCI engine state notion

Hi guys I have a problem with using stockfish engine which is using UCI protocol. I wanted to play black and the computer white. But so far I think that uci engine has no notion of state and it gives ...
3
votes
1answer
2k views

Can you compile Stockfish in Windows without Unix/GNU?

Can you compile Stockfish in Windows (without Unix/GNU), perhaps via Visual Studio? The official "how to compile Stockfish on Windows" suggests using MinGW (see links below) and I am looking for a ...
5
votes
3answers
10k 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
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 ...
1
vote
1answer
6k views

Opening book for stockfish

I am looking for a relatively up to date opening book for stockfish5 chess engine. I do not need it to be created by a stockfish team (only to work together with stockfish). Up till now the only ...
5
votes
2answers
3k 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 ...
5
votes
6answers
2k 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 ...
7
votes
2answers
6k 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 ...
2
votes
1answer
465 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 ...
0
votes
1answer
706 views

What fraction of a Pawn do the most powerful chess engines (Komodo, Stockfish, Houdini, Fritz, Hiarcs, Gull, …) use as their evaluation unit?

I've heard that the most common evaluation unit is 1/100 of a Pawn. But some engines use 1/1000 of a Pawn as their evaluation unit. I've also heard that Stockfish used 1/256 of a Pawn as its ...
4
votes
2answers
6k views

How to go about beating chess engines?

I play regularly long games (60min each) with Droidfish/Stockfish the depth is always close around 21. From time to time I overlook taktical flaws in my moves, obviously playing on worse positions ...
3
votes
1answer
462 views

Can you run “Full Analysis” in Fritz with a different engine?

I have added Stockfish to the Deep Fritz GUI, and I even marked all engines except for Stockfish as inactive. However, when I run the "Full Analysis" it's still using Fritz. Is there a way to use a ...
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 ...
5
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 ...
14
votes
1answer
61k 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 ...
3
votes
5answers
3k views

How do I check if a move is legal using Stockfish?

Let us say that I input a wrong move in Stockfish. What answer will Stockfish send me back? Or is there a function to check if a move is bad? People, I found a solution by myself.
2
votes
1answer
1k views

What are the scales of the numerical evaluations of the strongest engines based on?

Different engines have different scales for their numerical evaluations (for example, Houdini's evaluations are usually much lower than Stockfish's evaluations). This is because different engines use ...
5
votes
4answers
1k 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, ...
6
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 ...