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 [engines]

An engine is any machine or computer program that plays chess.

37
votes
11answers
19k 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. ...
2
votes
2answers
288 views

How do UCI chess engines handle 50 move or three repetition rule when playing against other engines?

I'm working on an engine that implements the UCI protocol that is intended to play against other engines. Since the UCI protocol has no commands for offering or accepting draws how does this work when ...
29
votes
2answers
5k 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, ...
4
votes
1answer
523 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 ...
-2
votes
2answers
300 views

Can anyone recommend a free strong and good chess engine for endgame?

I am looking for good and chess engine for endgame but unfortunately when I test engine with competitive chess players in online,it fails with calculation ability. Please recommend apart from fish ...
0
votes
1answer
101 views

What is a base chess engine?

For the asmFish 2017 11 05 there is one option as a base bmi2 and popcnt. What does base mean? Is it just a weaker version of the correct one or is it the fully capable engine https://github.com/...
-1
votes
1answer
714 views

where are the revision logs for asmFish

Please help because I can't find the revision logs on any website. I want to download version 051117 but I literally cannot get any website to have it.
0
votes
2answers
179 views

Please critique my Engine game

Two of my engine's played against Garbo engine. (without a opening Book on my part.) Both lost :( Which played better? I need a comparative analysis. Both shared the same evaluation. frankenstein ...
2
votes
2answers
369 views

Does chess.com analysis board use my own CPU?

Lichess analysis board uses my own cpu so I am just curious if chess.com also uses my own cpu.I have tried searching but I can't find any information about it.
3
votes
3answers
258 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 ...
5
votes
4answers
902 views

The end of anti-computer chess

In the old days it was possible to beat computers basically by playing slow, closed positions with weaknesses that can be exploited in the long term, beyond the calculation depth of the engine. As ...
4
votes
2answers
415 views

Recommended software for ICCF play?

I am interested in playing correspondence chess online through the ICCF. It is my understanding that using computers is not only allowed, but almost mandatory. My question is: What all kinds of ...
0
votes
1answer
318 views

Good apps for engine vs engine matches

I'd like to hold engine vs engine matches on my phone, and am looking for an app which could help me do this. Does Droidfish support matches between two different engines? If not, could someone name ...
7
votes
6answers
543 views

Can a chess engine tell you why a move is bad or good?

Can any chess engine tell you why a move is bad or good? For example, say a chess engine says the score against my opponent is currently +2 in my favor. I then make a move and my score drops to say 1....
0
votes
4answers
263 views

In engines vs engine game, both think “optimistically”: that they are in better shape than what their opponent thinks the evaluation score is

I observed in many Tcec games of season 10 (and possibly repeats trough seasons) that white evaluation score of a position is always greater (not in terms of absolute value, but in terms of the ">" ...
6
votes
1answer
140 views

Continue the Attack, Or Meet the Positional Threat?

In the league last night the following position came up: [Date "2017.10.26"] [White "Ian Bush"] [Black "Not Ian Bush"] [Result "1/2-1/2"] [StartPly "28"] [FEN ""] 1.e4 e6 2.d4 d5 3.Nc3 Bb4 4.e5 c5 5....
0
votes
1answer
92 views

What does the sign of the score represent in chess engines?

I am trying to code a small chess engine, but I am confused with what the sign of the score means. This is my current minimax algorithm: INFINITY = 999999 def minimax(self, depth, color): if ...
-5
votes
5answers
225 views

Stockfish given indefinite computing power, could it beat grandmasters with only a king and 8 pawns, the GMs having all standard pieces?

Has this type of situation been mathematically solved? Is there a solved endgame somewhere that probably describes this to a certain degree of statistical precision?
9
votes
2answers
715 views

How do computers play three-check chess?

How do computers evaluate three-check chess positions where the first side to check the other side three times wins? How do they value the first and second checks? It looks like the position ...
7
votes
1answer
1k 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 ...
3
votes
1answer
370 views

Differences between chess engines

In what way do major chess engines differ from one another? Do they all use the same algorithm and the same evaluation function, differing only in parameters/weights?
5
votes
1answer
2k views

Where can I download a 6 man endgame tablebase

I just cannot seem to find a link to a 6 man download endgame tablebase from syzygy. If anyone could provide me with a link it would be greatly appreciated.
-3
votes
2answers
169 views

how many CPU in 4 CPU cores [closed]

I may be being dumb but I am wondering if I want 4 CPU for my chess engine, if I set the number of CPU cores to 4 will that get me to 4 CPU for the chess engine?
0
votes
1answer
121 views

Is there a measure of how likely it is that a position will end in a draw? [closed]

I was asked to rephrase this question. Hope at least someone gets what I'm trying to mean here now. A position can be equal but asymmetrical. If it is very sharp and complicated then at least humans ...
1
vote
1answer
281 views

Game with computers choosing the worst possible moves [duplicate]

Since chess engines in one way or an other rank alternative moves, it should be able to search for the worst move as well as the best. Have engines played each others trying to lose, and what has come ...
-1
votes
1answer
354 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 ...
2
votes
1answer
109 views

Can one simulate a top GM strength?

I would like to know roughly if a top GM could win a given position against a top engine. Is there a way of adjusting an engine's settings to simulate the strength of a top GM in order to make it ...
6
votes
2answers
766 views

What happens if a strong chess engine plays with itself many times?

If a strong engine (eg. Stockfish) plays with itself many times (say, 100 times), what will be the outcomes in terms of the following: What will be the proportion of draws? Will there be wins/losses? ...
4
votes
1answer
139 views

Backwards Chess Program

Is there a chess program where you can create a position and the program creates a game, expecting the best possible moves to get there, or the most common? A problem I would see is some positions ...
2
votes
2answers
546 views

How to generate hash keys for chess positions

Is there a standardized method for generation of hash keys for chess positions. I want to implement hash key generation in my program, so wanted to know the best way to do it. It would be great if ...
2
votes
1answer
220 views

Stockfish to find all mates-in-n

how to make Stockfish to find all mates-in-2 or mates-in-3 from a given position? I know I need to use Scid but not much beyond that. Please help.
3
votes
2answers
225 views

How to write a simple chess engine to statically evaluate a position?

I want to evaluate positions statically. So I've written a code which evaluates from a FEN string. However it is a tedious to copy FEN and then paste for a complete game. So I wanted to know if it ...
1
vote
1answer
85 views

Getting started in position-counting by computer

I have quite a bit of programming background, and even game programming background, but have never looked at a real chess engine before. I recently stumbled on this puzzle-question, which asks for ...
5
votes
2answers
979 views

Import and export of PGN

How do I perform the following related things? Export/import PGN of games from Droidfish. Import my games to Chess.com I found an option to export my games from Chess.com (Share PGN) but I couldn'...
0
votes
1answer
316 views

Why doesn't my transposition table improve my move calculation time?

I have an alpha-beta pruning chess AI that I have implemented using chessjs and chessboardjs. Below is my AI algorithm - it includes move ordering on the first two depths, using the boardScore value ...
2
votes
2answers
334 views

Alpha-Beta Pruning returns mate in two instead of obvious mate in one

I have an alpha-beta pruning chess AI that I have implemented using chessjs and chessboardjs. A friend of mine was playtesting it and came across the following position: 7r/ppp1k1rp/8/8/7K/4qb2/8/8 b ...
1
vote
2answers
158 views

Why is better for white to move Rxa7 instead of Nxd3?

I am trying to analyze the below middle game puzzle. Its white's turn to move. As white, I played Nxd3 and killed the black Queen. However, the engine felt a better move for white was Rxa7. If I ...
4
votes
4answers
508 views

How to use engines to improve my game (weak amateur, not a top player)

Once, I played a game against an amateur player, who played really well. When I asked him where he'd learnt to play that well, he merely said that he had used Stockfish to reach that level and had had ...
2
votes
3answers
214 views

Engine with emphasis on strategic/positional analysis

Are there engines are especially recommended for strategic/positional analysis? I'm especially looking to use the engine in complex, opening position.
16
votes
5answers
911 views

How did the engines improve since Deep Blue?

Computer chess engines have gotten better since Deep Blue beat Kasparov in 1997. Did the algorithms get better, or were the improvements mostly due to the same algorithms running faster thanks to ...
1
vote
2answers
69 views

Time/PLY to let engine run for opening analysis

For critical positions in your opening repertoire: How many PLY do you recommend to let the engine run on a single move (referring to a roughly equal position, about +0.15-0.2) How much time does ...
0
votes
1answer
63 views

Possible chess positon after X ply?

I've started to code my own little engine recently and am now working on a perft function which simply sees how many moves there are. Trying to get correct results I searched online for the correct ...
-2
votes
1answer
149 views

Chessbase on a Mac through Parallells - slow performance [closed]

I'm running Chessbase through the Parallels virtual machine, on a late 2013 21.5 inch iMac with an i5 processor and 8GB RAM (allocating 4GB to the VM). It's running quite slow. Can I expect ...
2
votes
4answers
469 views

Game Analysis Software

What I need Is there any software/engine/website (preferably free) that can analyze a given game (or PGN) of mine and tell me: Whether my moves were excellent, good, bad or terrible. Possible ...
14
votes
2answers
3k views

Why can a chess move improve the chance of winning, according to the computer?

When watching the Sinquefield cup on http://grandchesstour.org/, it is possible to try different moves, and see how the computer evaluates the standing after your suggested move. Now, most moves ...
1
vote
1answer
458 views

What is the problem with my negamax implementation?

I am currently attempting to make a basic chess engine in Python (Learning some basic concepts), but for some reason the engine is suicidal and does not detect the scholars mate. I am using python-...
1
vote
4answers
92 views

After analyzing games with a coach should we play them again on the board?

I analyze my tournament games with my chess coach on the computer and in the end I have a pgn file which contains all the variations, mistakes, and tactics i missed. The question is am i suppose to ...
4
votes
5answers
533 views

How important is castling? How much is it worth?

Are there some statistical values for the worth of castling? Are there some numbers, for example in centipawn that can represent the value of castling?
2
votes
1answer
436 views

How are centipawns calculated?

I found on the Web some information what centipawns are. But how exactly programs calculate this loss? How can I recognize if one move will bring less centipawn loss that an another? Assuming both ...
1
vote
1answer
126 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 ...