Questions tagged [engines]
Questions relating to chess engines: any computer program that is able to play/analyze chess positions.
160
questions
36
votes
5
answers
30k
views
How do chess engines "think"?
What I want to know is how engines are programmed to find moves. I'm sure they first calculate the most forcing lines such as captures and checks. But what about subtle, deep positional moves? They ...
63
votes
15
answers
18k
views
A purely self-trained chess AI
Insofar as I understand, it appears that, before moving, all strong chess software
examines thousands or millions of possible, future positions;
evaluates each future position according to some ...
30
votes
4
answers
7k
views
What is the status for seven man end game table bases?
There are complete (or nearly complete) six man end game table bases available for download, and even online.
What is the status of seven man table bases? Is there still active development in this ...
21
votes
7
answers
64k
views
Free online analysis engine?
Is there an online analysis engine that allows you to enter a PGN and get a game analysis, showing where suboptimal moves were made?
I know there are programs for download/purchase that do this, but ...
17
votes
3
answers
5k
views
Computers in correspondence chess
In competitive correspondence chess, can humans win at all against computers? Do humans contribute at all to the game?
Provided that it is allowed by the rules, I fail to see how it is not just ...
16
votes
2
answers
3k
views
Randomness in engine play
If I get two engines to play against each other with the same colours, will the same game result every time? If not, where does the randomness in engine play come from? (Neglecting the opening book, ...
10
votes
1
answer
4k
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....
6
votes
4
answers
831
views
Kasparov said human+computer beats just computer. What does human bring to the table in such teams?
Its seems to me nowadays computers simply play better, i.e. they consistently choose better moves. Where does human factor come into play, how can a human help engine to beat another engine?
Or was ...
20
votes
2
answers
2k
views
Why does NN + MCTS & AB + handwritten eval dominate engine chess?
As I understand it engines can be divided into four groups right now: those that use Alpha-beta (AB) + those that use Monte Carlo Tree Search (MCTS) for search, and those that use handwritten ...
12
votes
3
answers
4k
views
Computer evaluations: How trustworthy are they?
Fritz 12 with Rybka gave a friend of mine an evaluation of +3 for white in this endgame position,
[Title "White to move"]
[FEN "8/8/8/3k3p/3P3K/2P3R1/8/7r w - - 0 1"]
which turned out to be a draw. ...
10
votes
3
answers
785
views
Big changes in engine's evaluation after considerable time
I hope this question hasn't been asked before.
I am looking for some examples where, say, the latest Stockfish or Komodo engine (or possibly some of the top NN engines) evaluates a position as plus or ...
18
votes
5
answers
20k
views
How many moves ahead does Anand calculate in his mind?
I always wondered about this! How many moves ahead can strong players like Anand actually 'see' during the game? How does the calculation of a supercomputer like Deep Blue differ from that of strong ...
17
votes
5
answers
5k
views
Is Houdini 6 a Stockfish clone?
I've been hearing this claim being bandied about quite a lot and I'm wondering if there's any substance to it. Apparently the details are in a certain thread on Talkchess, but it's not viewable to non-...
12
votes
8
answers
8k
views
Bishop vs Knight
I read in a book written by Fischer about piece values, and he said that a knight is worth 3 pawns, and a bishop is worth 3,25 pawns. I know that in closed positions knights are better, and I have ...
8
votes
7
answers
5k
views
Is there a chess engine that does NOT use brute-force search?
Every chess engine I've ever heard of (including all I found listed on Wikipedia) uses brute-force search with an evaluation function (minmax algorithm) to decide on its move.
This is not how most ...
8
votes
1
answer
4k
views
Could a top ranked GM draw against Stockfish using drawish opening lines in classical chess?
We know that are many lines which White can choose which are very drawish at 2700+ level. Drawing is easy to a very good chess player such as Carlsen, who knows dozens of forced draw lines. When I say ...
7
votes
2
answers
8k
views
How to get position evaluation with UCI?
I am trying to get score about current position directly with UCI (I am using latest stockfish). After reading the protocol I see that these commands ask engine to analyse the position:
uci
...
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, ...
26
votes
1
answer
2k
views
Is computer chess exhibiting the predicted "draw death"?
At various times, even going back 100 years or more, people have been predicting the "draw death" of chess meaning that top players will get so good that every game will be a draw.
In the 1984 World ...
24
votes
7
answers
3k
views
How to determine the value of a piece from scratch?
Assume we have a standard chess set setup, but we make a slight change so that (for example) pawns can now move two squares forward on any move rather than just on their initial move. Even assuming ...
21
votes
6
answers
11k
views
What prevents chess engines from being undetectable?
I see accounts of people getting banned from sites like chess.com for using engines like Stockfish and Komodo (I admit I have used these engines before, but never in an actual match). Now, I believe ...
20
votes
4
answers
5k
views
Why do chess engines sometimes miss good moves (or take forever to spot)?
It is not the first time that I found a greatly superior move than the chess engine did, it even takes them a while to understand these moves after you make them.
For example, the move 15 ... Bf2 in ...
17
votes
2
answers
803
views
Has AI changed opening theory, and if so, how?
Pre-AI, it's hard to imagine that opening moves had changed much. Following the birth of computer engines, has AI changed opening theory, and if so, how?
16
votes
3
answers
5k
views
How can I know the Elo rating of my chess engine?
I built an uci compatible chess engine, and I would like to know its Elo rating. What is the easiest way to get it?
I would like something that works both on Linux and Windows.
15
votes
2
answers
15k
views
Are the best engines better than the best humans?
I think the title asks it all.
Under match conditions, would the best chess engines routinely beat the best grandmasters?
If you say yes, have there been enough matches played under tournament ...
14
votes
3
answers
3k
views
Can you really learn from playing against computers just like when playing against humans?
I am wondering whether or not playing against chess against a computer will help you get better as quickly as playing against humans.
The motivation for this questions come from video gaming. I used ...
14
votes
1
answer
68k
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 ...
13
votes
1
answer
11k
views
Which is better-Stockfish 10 or AlphaZero?
I know AlphaZero (an AI) is one of the best top chess engines but Stockfish is also improving. Which one is better at chess?
12
votes
1
answer
4k
views
How accurate are chess engine ratings?
In light of the ongoing TCEC tournament, I was thinking, how do they come up with the ratings of these computers?
Presumably, a 2000 rated chess engine should expect a score of about .5 against a ...
11
votes
3
answers
2k
views
Why are world-class engines playing like this?
I was reading about the Lc0 engine and its evolution. Then took a glimpse at the games between Lc0 and the notorious Stockfish. I am not a professional or anything remotely close, but this particular ...
11
votes
2
answers
5k
views
Is there an online chess evaluation engine with a REST API?
Is there an online chess evaluation engine with a REST API? I'd like to be able to send a game or position (with castling ability presumably) to a simple REST API and get back the positional ...
10
votes
2
answers
861
views
Positions that stump engines
Chess engines are so strong that it is becoming increasingly hard to find positions that they are demonstrably evaluating incorrectly. I'm interested in collecting examples—if there are any&...
9
votes
2
answers
5k
views
How to create your own opening book for your own chess engine?
I am currently working on a chess engine in Java. I am using the minimax algorithm with alpha-beta pruning to select the best move. However, it is inefficient to use the algorithm for selecting ...
9
votes
3
answers
6k
views
Engine not necessarily playing strong but "attractive"
Does anyone know a chess engine that is not programmed to be as strong as
possible, but to play "attractive" chess ?
The program should have an aggressive style and play for mate attacks, even
if ...
8
votes
2
answers
9k
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 ...
8
votes
5
answers
3k
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, ...
8
votes
5
answers
8k
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 ...
8
votes
3
answers
434
views
What free programs do exist to comment chess games? For Windows, Linux, and Mac
What free programs do exist to comment chess games? For Windows, Linux, and Mac.
I know that ChessBase and ChessOK Aquarium can do it. However, it is my understanding that they are not free.
7
votes
4
answers
519
views
Will computer knowledge reach a perfect game, after expanding prepared openings/endgames?
If computers just check in an openings-DB what to do in the first 10, 15 or even 20 moves, and if they just check the endgames-DB at the endgame; wouldn't it reach a point where they have a DB of ...
7
votes
3
answers
3k
views
strongest chess engine
Can somebody tell me where can i find an updated list of the strongest chess engines. I want to find out a comparison (ordered list of engines)
Information on wiki http://en.wikipedia.org/wiki/...
6
votes
4
answers
2k
views
What is the farthest away a game can be from a guaranteed checkmate?
What is the maximum number of moves away from checkmate that a player can be where checkmate is guaranteed? There are many positions that are a guaranteed win for a player if played perfectly, right? (...
5
votes
2
answers
7k
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 ...
5
votes
1
answer
2k
views
Python script to let stockfish selfplay 10 games from a given position
I would like to have Stockfish to selfplay 10 games starting from a given position. Game should end after 10 moves. From the python-chess documentation there is an example of playing only one such ...
5
votes
6
answers
16k
views
Tips on how to beat a computer?
What strategy should I use to win a chess game against a chess computer?
The engine is able to make decisions on an about 3 moves deep search graph.
Please do not say check every move in the next 4 ...
4
votes
4
answers
7k
views
To what move depth should you analyze a chess position
I'm trying to learn a chess opening and using a chess engine (stockfish8) to analyze the position but I'm wondering what move depth should I set it to (e.g., 25, 30 35 half moves).
4
votes
2
answers
5k
views
Chess Engine API
I am writing a C# 3D chess game in Unity. I am looking for a chess engine that can
Take in an FEN string
Return the best move to make given this FEN
Check if the board given this FEN is in checkmate
...
4
votes
4
answers
5k
views
Programming three-fold repetition for my chess engine
I'm making a chess engine that has to implement a three-fold repetition as my AI vs AI engine repeats the same moves over and over again (Have a look at my post here - My chess AI makes the same ...
4
votes
2
answers
980
views
Engine's 2nd best move
Especially for checking studies (maybe also for teaching), it would be helpful to have an engine finding the second best move and assess it (or even give refutations of all alternatives). For a ...
3
votes
1
answer
2k
views
Why can Stockfish give different evaluations at the same depth?
When I let Stockfish get to a certain depth (say depth 33), it gives some evaluation. Then I refresh the position (while leaving Stockfish on) and when it gets to the same depth it gives a different ...
3
votes
6
answers
3k
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 ...