Questions tagged [stockfish]
Stockfish is a strong open-source chess engine.
321
questions
2
votes
1
answer
1k
views
Using stockfish from command line to calculate the total number of legal moves for each side after a given move
I am running stockfish 15 from the command line. I'm wondering if there is an easy way for Stockfish to report the total number of legal moves (safe, or otherwise) for each side after a given move.
...
2
votes
1
answer
199
views
Neurons Stockfish NNUE
I am referring to this picture.
What do the individual neurons in the ANN do? Do they represent criteria for the evaluation, like for example material, pawn structure, king safety and so on?
2
votes
1
answer
369
views
What's the best way to get the top n engine moves?
I want to use python-chess to get the top 5 Stockfish moves from a given position with a numerical evaluation for each move. Is it more accurate to run the engine for 10 minutes with MultiPV=5, or to ...
2
votes
2
answers
171
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
2
answers
2k
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 | | ...
2
votes
2
answers
8k
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
...
2
votes
1
answer
728
views
What does "hashfull 1000" mean in Stockfish?
When I use Stockfish, the "hashfull" value climbs up to 1000 and then stays there. I was wondering what this means.
The documentation says :
* hashfull <x> the hash is x permill full, ...
2
votes
2
answers
214
views
Why does stockfish suggest bishop pins on knights early on?
Stockfish suggests the following pin for me (white) against the queen on the night. However, whenever I play this move in real games black just kicks the bishop off with pawn to h6. I end up just ...
2
votes
3
answers
704
views
How to use Arena GUI outputs in a python program
I'm currently developing a self-playing chessboard on which I'd like to implement an Artificial Intelligence (AI) (currently it's Stockfish. I would like to know how I could, if I can, export Arena ...
2
votes
2
answers
379
views
Most complicated mode for chess engines
I have used many chess engines, especially Stockfish and I want to ask you, if it possible to change its mode to the most complicated one. What I mean:
Now, most engines work as following:
1) Mate ...
2
votes
2
answers
450
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
...
2
votes
1
answer
942
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?
2
votes
2
answers
252
views
What does Depth mean in Stockfish Game Analysis?
When I'm observing a game, the evaluation bar works and above the moves list, there is a numerical value for depth. But what is Stockfish depth and what does it measure or tell?
2
votes
2
answers
484
views
Python Efficient Board Scoring Function To Use As Placeholder
I'm building a chess engine in Python. I'd like to find a board evaluation function that would be easy to put into my engine as a placeholder while I work on other aspects of the engine first.
I would ...
2
votes
1
answer
764
views
limit stockfish 9 to a specific range of ELO rating
I am using stockfish 9 for our chess game project, and I want to limit the ELO rating of the engine to a range. I saw attributes like movetime and depth are used to limit the engine skill level, but I ...
2
votes
1
answer
446
views
The best move in this Crazyhouse position according to Stockfish
I just played my first few games of Crazyhouse, and I really don't understand it. At one point I had this position.
[Title "White to move"]
[FEN "r2q1rk1/pbb2pp1/n1p1p2p/1p1nP3/2pPN3/...
2
votes
1
answer
1k
views
running stockfish with docker and docker-compose
I have access to a powerful computer at work so naturally I want to run a chess engine on it (stockfish for now and later leela). I am trying to use docker-compose to link a stockfish image and a ...
2
votes
1
answer
1k
views
Communication with Stockfish engine via Python
I try to access the Stockfish engine via Python, but only get bestmove = a2a3.
If I enter the same commands into the MAC-terminal, the engine calculates the correct move.
Can anyone help me, please ?...
2
votes
1
answer
299
views
How to tweak a chess engine like SF to return a variation which is only slightly better than your moves?
By default, engines return the strongest variation(s) they calculate. I was wondering if there is a way to tweak an open source chess engine to show a move from their MultiPV which is slightly better ...
2
votes
1
answer
999
views
Is it possible for stockfish to tell that mate is in X moves, when mate is in X + Y moves?
I know that it is possible for a chess engine to evaluate a position as mate in X moves, when in fact there exist a mate in smaller number of moves. But can the reverse situation happen?
For example ...
2
votes
1
answer
310
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).
...
2
votes
2
answers
447
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
1
answer
13k
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
1
answer
10k
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 ...
2
votes
1
answer
145
views
Macintosh: Seeking client with better listing format than Stockfish
I currently use the Stockfish client on my Macintosh, but don't like the way it displays the moves (left to right, no line breaks between moves, annotation in-line, branches hard to follow).
Are there ...
2
votes
1
answer
82
views
What determines length of stockfish 'pv'?
Normally the length (sequence of moves) of what stockfish info prints out as 'pv' matches the search depth, but sometimes it doesn't. When determines its length?
2
votes
2
answers
508
views
Stockfish NNUE vs handcrafted Evaluation
I read up on Stockfish NNUE and as far as I understand it, Stockfish NNUE was (at least in early stages) trained by positions which were evaluated by the hand-crafted eval. function by stockfish.
The ...
2
votes
1
answer
318
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 ...
2
votes
1
answer
302
views
Is it possible to play multiple games with Stockfish simultaneously?
I am asking this because Stockfish was accepting different FEN strings through the terminal inbetween a game, of which it is giving best moves. I have compiled Stockfish in the Ubuntu 19.04 terminal.
2
votes
1
answer
864
views
analyse and store a annotated game by stockfish in scid
Salut
I installed scid and set all necessities in order to make an analysis by stockfish, but I could not find the option to save the done analysis.
My question is just silly but I cannot find ...
2
votes
2
answers
587
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 ...
2
votes
3
answers
2k
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 ...
2
votes
1
answer
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 ...
2
votes
0
answers
50
views
2 Chess engines versing eachother in scid
How can I make 2 chess engines play against each other in Scid on serious game?
I remember I managed to do that one time, but this time, I can't seem to find a way.
2
votes
1
answer
273
views
Scid Vs. PC | Using Stockfish on Linux [duplicate]
I have downloaded Stockfish 16 from their site at:
https://stockfishchess.org/
Using the command line in linux (I'm a newb), I have compiled it in the 'src' folder. After this, the exec file appears ...
2
votes
0
answers
347
views
How to turn off Contempt in engine analysis?
I'm trying to analyze a game with the python-chess package, and for that I want to turn off the "Analysis Contempt" option in Stockfish. However, it seems it doesn't work, and I don't know ...
2
votes
0
answers
164
views
Stockfish Transposition Table: 16 bit key equals 0 even if the key is found? [closed]
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 >> ...
2
votes
0
answers
1k
views
How can I set up xboard with an engine in Linux? [closed]
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 ...
2
votes
0
answers
88
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?
1
vote
1
answer
1k
views
Would Quadruple forking be considered a brilliant move according to Stockfish?
Is a quadruple fork (the image above) considered a brilliant move according to Stockfish?
I was just curious to know if Stockfish considers this a brilliant move, but at the same time, I'm not sure ...
1
vote
3
answers
722
views
How good is 1. e4 c5 move for black? Why does Stockfish play it?
I've been running some engine vs engine games out of boredom and noticed Stockfish, when playing as black, 90% of the time played c7-c5 on white's e4. I've never actually seen a human play this, in ...
1
vote
1
answer
940
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 ...
1
vote
3
answers
273
views
Why does the engine suggest Be7 after Qe4+?
[FEN "r3kb2/pp3pp1/8/2P5/1qN3p1/3Qp2r/P4P1P/5RK1 w KQkq - 0 1"]
1. Qe4+ Be7
In this position why is Be7 the best move for black after Qe4+, given that black will instantly lose its queen afterwards (...
1
vote
2
answers
153
views
Why local Stockfish Eval is not matching with Chess.com and Lichess.org?
Experimenting with stockfish and stuck on a situation.
PGN (The Game of the Century)
1. Nf3 Nf6 2. c4 g6 3. Nc3 Bg7 4. d4 O-O 5. Bf4 d5 6. Qb3 dxc4 7. Qxc4 c6 8. e4 Nbd7 9. Rd1 Nb6 10. Qc5 Bg4 11. Bg5 ...
1
vote
1
answer
516
views
Meaning of ! and ? in Stockfish output?
I've just installed Stockfish 8 and in the engine output, I see it has started to put ! and ? in various places (after certain moves and scores). Example output:
mover viewpoint fewer / ...
1
vote
2
answers
173
views
How to arrange engine games?
I have heard in various places that we can make engines play against each other from a certain given position. I want to know how exactly to do that. Is there a website where I can put a position and ...
1
vote
1
answer
365
views
What is the Depth reached by chess-AI agents on a regular computer?
I'm looking for some reference for the number of lookahead steps typically used by chess agents (Stockfish / Leela Chess Zero / others?)
From a quick search I found that:
the answer depends on:
...
1
vote
1
answer
660
views
StockFish under WIndows 8 doesn't work
I'm trying to run StockFish under WIndows 8.1, but I'm just getting the prompt as copied below. Also, Winboard Load First/Second Engine doesn't work: nothing is happening. How can I run StockFish ?
1
vote
1
answer
250
views
Unable To Communicate with UCI through Java Program
I am writing a java program to connect to the Stockfish Engine and get the best move for some FENs.
My Connection code is :
public class connector {
private Process engineProcess;
private ...
1
vote
1
answer
632
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?