Questions tagged [stockfish]

Stockfish is a strong open-source chess engine.

Filter by
Sorted by
Tagged with
4 votes
1 answer
392 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 ...
Inertial Ignorance's user avatar
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 ...
Konstantinos's user avatar
7 votes
3 answers
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 ...
Allure's user avatar
  • 26.1k
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 ...
Kortchnoi's user avatar
  • 3,525
4 votes
3 answers
1k 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 ...
Inertial Ignorance's user avatar
0 votes
1 answer
602 views

Importing and analysing games played on chess.com [closed]

How to import entire game from chess.com game to stockfish?
Ramy's user avatar
  • 101
13 votes
3 answers
7k 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?
supermario's user avatar
0 votes
1 answer
403 views

Is any tool which allow analyse EPD file and add evaluation score per I want specify depth/multi PVL?

I tested some tools which allow analysis EPD files but they not work like I want: I can use Arena but it will not annotate back EPD - it create protocol file. I can use SCID vs PC but it will not ...
Chameleon's user avatar
  • 515
4 votes
2 answers
3k views

How to use nodestime option in Stockfish 10?

By looking at the uci option file of Stockfish 10 I found this line: o["nodestime"] << Option(0, 0, 10000); How exactly does one use nodestime?
Vladimir Vargas's user avatar
2 votes
4 answers
890 views

Why is Stockfish giving me this weird move?

When I ask for the best move for this FEN: 1rbq1rk1/b4p2/p2p3p/3Bp3/P3P3/2P4P/R2Q1PP1/4K2R w -- - 0 30 [FEN "1rbq1rk1/b4p2/p2p3p/3Bp3/P3P3/2P4P/R2Q1PP1/4K2R w - - 0 30"] Stockfish (via Python) ...
Mareo's user avatar
  • 29
4 votes
1 answer
1k 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 ...
codemaniac's user avatar
5 votes
3 answers
970 views

What's the rationale behind chess engines conditionally allowing threefold repetitions when assigning a draw score?

When a chess engine sees a position p repeated once (i.e. position p occurred twice) it immediately assigns the second occurrence of position p a draw score. This makes sense because position p doesn'...
Aadit M Shah's user avatar
4 votes
1 answer
319 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 ...
GarryK's user avatar
  • 41
1 vote
2 answers
304 views

Android Stockfish communication works differently than on PC? [closed]

How is number of threads to use written on Android versions of Stockfish? Whole communication works but somehow I still can't change number of threads. I even have working code for PC version of ...
hoacin's user avatar
  • 3,276
1 vote
3 answers
971 views

How many moves out do the static board evaluations use?

These days many online chess websites offer a board evaluation rating, often a bar, sometimes a number, sometimes both, as is the case here (see two red circles): Black will take a pawn soon, so the ...
Jason Arthur Taylor's user avatar
7 votes
8 answers
2k views

Reasonable engines to test against (Not StockFish)

I've built a chess engine in Python which I've been testing against StockFish through the use of the Python-Chess package. Testing against StockFish seems/is problematic, and as a result I'm ...
Sam Ragusa's user avatar
-8 votes
1 answer
2k views

LICHESS analysis, why did it propose this outrageous move? [closed]

I was playing a game on lichess, and afterwards asked for a computer analysis, where instead of my perfectly fine move XX the computer insisted on another better move YY, why is that, how can I ...
lenik's user avatar
  • 1,716
5 votes
1 answer
643 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 ...
Inertial Ignorance's user avatar
1 vote
1 answer
390 views

Is there a way to get MANY and FAST (but not deep) position evaluations in javascript?

I am working on a statistical chess project that needs to evaluate many (about 20-30) different positions per turn. They do not need to be deep but fast. Is there a possibility to use engines (...
Superluminal's user avatar
  • 1,963
5 votes
1 answer
2k views

Why does Stockfish give a negative score in a theoretical win for white?

8/3k4/8/3K4/3P4/8/8/8 b - - 0 1 (Black to move) This is a theoretical win since White has the opposition and the king is in front of the pawn. I have downloaded the Windows version for Stockfish 9 ...
Michael Haddad's user avatar
0 votes
2 answers
490 views

Why Qd1 is the best move?

As per subject, why Qd1 is the best move and all other moves for queen like Qd2 and Qd3 are not? I understand that it’s important to cover d column but why 1 and not 2 or 3? Also why Rd1 is not a ...
SSC's user avatar
  • 119
18 votes
8 answers
8k 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 ...
Laschet Jain's user avatar
3 votes
1 answer
325 views

What kind of hand-crafted features do top performing family of engines use to evaluate a position?

AlphaZero paper which introduced the engine which allegidly outperformed stockfish mentioned the following: These programs evaluate positions using features handcrafted by human grandmasters and ...
Salvador Dali's user avatar
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 ...
malocho's user avatar
  • 151
6 votes
3 answers
1k 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. ...
Laschet Jain's user avatar
4 votes
1 answer
248 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 ...
Daniel Gerigk's user avatar
2 votes
3 answers
12k views

What is the Elo rating of Stockfish version that played AlphaZero?

AlphaZero has defeated Stockfish with all novelties and brilliant strategic sacrifices. But some people were disputing its win, because Stockfish was running on weak hardware (1 GB RAM), not access to ...
THN's user avatar
  • 145
5 votes
5 answers
3k views

Custom chess (game) engine

Is there a chess engine which you can use regardless of the game's rules? For example, I want to create my own chess version in which queen will also be able to move as knight, or just a 10x10-square ...
Konstantinos's user avatar
4 votes
6 answers
28k 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 ...
David Ni's user avatar
  • 287
22 votes
2 answers
4k 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 ...
Larry's user avatar
  • 325
4 votes
2 answers
4k views

Is there a list of hidden/deleted Stockfish commands?

I have downloaded the latest version of Stockfish, and I am running it on the command line. There is a hidden command 'd' which displays the current board. Also, the "debug on" command is not ...
EddieRich's user avatar
-1 votes
1 answer
594 views

Stockfish crashes on fen string

I have created a GUI that communicates with a Stockfish 8 engine by passing it a FEN string. Everything works nice but on some specific FEN strings, Stockfish crashes. I don't have any clue why... ...
Mohd Waseem's user avatar
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 ...
Salvador Dali's user avatar
33 votes
7 answers
20k 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 ...
user1583209's user avatar
  • 20.7k
43 votes
11 answers
23k 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. ...
Philip Roe's user avatar
  • 8,155
36 votes
2 answers
9k 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, ...
user929304's user avatar
  • 3,386
4 votes
1 answer
2k 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 ...
Wais Kamal's user avatar
  • 3,020
10 votes
1 answer
4k 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 ...
Wais Kamal's user avatar
  • 3,020
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 / ...
Jez's user avatar
  • 585
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 | | ...
andersfylling's user avatar
-1 votes
2 answers
746 views

Difference in chess engine strength for ''high end 64-bit multicore PCs'' vs. ''low end multicore 64-bit PCs''

I use Arena for tournaments between chess engines. The interesting thing is that in different 64-bit multi-processor computers ranking is slightly different. I was expecting that they should be the ...
Farhad's user avatar
  • 67
3 votes
1 answer
720 views

Getting Stockfish to find all mates-in-n

How do you make Stockfish find all mates in 2 or 3 from a given position? I know I need to use Scid, but not much beyond that.
J. Bullock's user avatar
1 vote
2 answers
737 views

How do I get Stockfish to show notes like it does on Lichess?

I want to write a program to stop a chess game if Stockfish decides that checkmate is unavoidable for a player as a learning exercise. I downloaded Stockfish for Mac and it gives what it thinks is the ...
user avatar
13 votes
1 answer
7k 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? ...
John's user avatar
  • 233
0 votes
1 answer
733 views

Stockfish - Function that predicts checkmate

I'm working on a function that can forecast whether, for a given position, I can be checkmated by the opponent. I have this function, already in Stockfish: bool Position::is_mate() const { ...
azureflare's user avatar
1 vote
1 answer
235 views

Stockfish: Engine suddenly changed the side?

I asked this question in stockfishchess.org support but didn't get any response. So I'm trying to get some answers from you all. My question: Please find the output of communication with the engine ...
Bee's user avatar
  • 165
3 votes
3 answers
4k views

How to send uci messages from c# app to stockfish on android?

I downloaded the binary of Android Stockfish arm64-v8a and looked in the CPP source files. In main() there is all initialization, and then there is UCI::loop(), which catches standard input with ...
hoacin's user avatar
  • 3,276
4 votes
1 answer
995 views

How to use ending evaluation in UCI interaction with Stockfish

Playing around with the Stockfish 8 UCI from the terminal, I've managed to make it compute moves, and set the position and load Syzygy tables. But how I can know if an endgame, one that corresponds ...
loloof64's user avatar
  • 143
4 votes
1 answer
889 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 ...
hoacin's user avatar
  • 3,276
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 ...
Kale's user avatar
  • 65

1
3 4
5
6 7