Stack Exchange Network

Stack Exchange network consists of 174 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.

2
votes
1answer
188 views

Can white really not win this rook endgame?

When playing against a player rated ~2500 Stockfish 8 managed merely to draw when playing white. This was the endgame before the draw (the draw occurred because it was king vs. king in the end). ...
3
votes
2answers
303 views

Bug in Stockfish/Suggesting bad move

Why does Stockfish suggest this move in this position for white? It is a clear losing position if the king moves that way, as supposed to a draw if the king chooses f7 instead... This is a real game ...
-2
votes
1answer
63 views

Opening saved game Stockfish

I have saved PGN file from a file in Stockfish on mac, but when I open it the position of the pieces does not move. Why?
-2
votes
1answer
84 views

Get percentage amount of Stockfish usage

Is it a way to paste FEN from a game and see how many of those moves Stockfish would recommend doing? If the percentage is high, the person has most likely been using it. Is there a way of doing this? ...
0
votes
1answer
84 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.
0
votes
1answer
525 views

What exactly means centipawns field in stockfish/uci output?

According to this page: cp the score from the engine's point of view in centipawns. but is it a score for the current (start) position of the game that I feed to engine, or it is a ...
2
votes
1answer
2k views

Connecting Chess Engine with a Java program

I wanted to make a 1 player chess game. The idea is: The move made by the player would be displayed on the GUI. It is sent to the Chess Engine in its own specific understood form. Then the result of ...
3
votes
1answer
208 views

Why is Kf8 the recommended move here?

in this position: [FEN "rnbqk2r/pp2bppp/5n2/1Bpp4/8/3P1N2/PPP1QPPP/RNB1K2R b KQkq - 3 7"] Stockfish 8 gives the move of Kf8, and claims my move of Bd7 is an inaccuracy. I don't quite understand why....
3
votes
2answers
162 views

Why does black not move Queen here?

in this board, after Nf5 as indicated, why does stockfish suggest the best move is king-knight e7? Surely it would be better to save the Q to h7 towards the check-mate on h2 (white knight blocks the ...
0
votes
1answer
260 views

Stockfish crashing on checkmate positions, and erroneous evaluation

I asked the same question on Stockfish's forum. Black to move in the classic scholar's mate position. mate in 1. Engine produce erroneous results? position fen rnbqkbnr/pppp1ppp/8/4p3/6P1/5P2/...
3
votes
2answers
2k views

Playing stockfish level 3000 on Arena 3.5.1

I downloaded Arena 3.5.1, and then downloaded stockfish from https://stockfishchess.org/ it had 4 files: stockfish_8_x32.exe stockfish_8_x64.exe stockfish_8_x64_bmi2.exe stockfish_8_x64_popcnt.exe ...
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....
2
votes
2answers
1k 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 ...
5
votes
3answers
2k 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 ...
6
votes
2answers
963 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
593 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
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 ...
6
votes
1answer
371 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
5k 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
264 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
267 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 ...
0
votes
1answer
626 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
3answers
959 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 ...
1
vote
0answers
53 views

How to reduce number of variants in annotate in Scid vs PC

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
413 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
364 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
246 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
577 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 ...
2
votes
1answer
2k 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-...
4
votes
3answers
900 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
914 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
206 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 ...
1
vote
1answer
6k 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
708 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
66 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
148 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
357 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 ...
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
540 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
361 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. ...
3
votes
2answers
2k 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
3
votes
1answer
1k 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
2k 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
1k 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
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 ...
4
votes
2answers
3k 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
3k 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 ...
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
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 ...