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

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

1
vote
0answers
43 views

Chess engine used to point out common tactical blunders [duplicate]

Does anyone know of chess engines that have been programmed to point out a tactical blunder in plain English? I.e. “you missed a skewer”, or something to that effect. Not simply “this move -3”. ...
0
votes
1answer
40 views

Are there any free chess engines that can be used to analyze online or in a mobile phone? [duplicate]

I want to analyze chess games. Is there any reliable chess engine that is free
1
vote
2answers
109 views

Why do engines run faster if you only have one line of analysis open?

When I load up an engine (like Stockfish), it reaches a higher depth quicker if I only leave one line of analysis open. If I leave multiple lines open, it runs slower. Why is this?
3
votes
2answers
151 views

How would top grandmasters fair against engines in correspondence chess?

If Magnus Carlsen, for example, faced stockfish with the time control 1move/day, how well would Magnus do against stockfish? It seems with so much time per move, tactical oversight disappears.
3
votes
1answer
124 views

What are the strategies of Alphazero? [closed]

Alphazero is an amazing chess engine, one of the best in the world. It also has a more "human" playing style than other engines. Furthermore, understanding this engine might be vital to improving the ...
1
vote
2answers
84 views

Can an Optimal Stopping strategy be applied to search functions?

Can the solution to the famous Secretary Problem be applied to the search function of a chess engine? Rejecting the first 37% moves and choosing the best one after that,or maybe even just checking the ...
5
votes
1answer
129 views

How does syzygy store it's information?

From reading everything I've found so far, I know that syzygy uses both win/draw/loss files and distance to zero files, but I haven't found any information on the internal file format that these files ...
2
votes
5answers
130 views

What strategies/algorithms do humans use to master chess? [closed]

To put the question in perspective, an chess analysis engine calculates each move till a particular depth to determine best move. How did humans, having a fraction of calculation power of a computer ...
3
votes
2answers
110 views

In chess engines (A.I) how are the values for Piece-Square Tables for simplified evlaution function determined?

I wanted to know how are the values for piece square table are determined for simplified evaluation function in chess A.I engines For example Source : https://medium.freecodecamp.org/simple-chess-...
3
votes
5answers
287 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 ...
-4
votes
1answer
162 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 ...
4
votes
1answer
108 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 ...
0
votes
1answer
53 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 (...
4
votes
1answer
121 views

Chess environments for reinforcement learning

I want to try some reinforcement learning techniques (borrowed from AlphaZero, etc.) and so I need a chess environment in order to run games. I code in python, so I found python-chess but ...
3
votes
1answer
70 views

What is %eval syntax in PGN

I've seen two formats of [%eval] syntax in PGN: [%eval 250,5] meaning white is +2.5 pawn up at depth 5 [%eval +0.25] means white is 0.25 pawn up Is any of those mentioned by some PGN standard? Which ...
3
votes
1answer
257 views

What is Alpha Zero's Play Style? (Including its Openings and its Middlegame) [closed]

If you want to read about its opening strategy, it is down below the link. If you want to read about its middlegame strategy or basic play style, it is at the top I want to know how I can play more ...
4
votes
3answers
119 views

Minimax and alpha beta

I want to implement a simple chess bot so I have been reading about this algorithm a lot. I can say I understand the basic idea of the algorithm but I can't clearly see how am I supposed to apply it ...
0
votes
0answers
49 views

Why don’t bots always play the same moves? [duplicate]

Stockfish recently played AlphaZero in an 100 game match. AlphaZero won 28 of them and the rest were drawn. Surely since chess engines always assess any given situation in the same manner they should ...
3
votes
1answer
86 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 ...
0
votes
1answer
43 views

convert stockfish pv output to show piece names [duplicate]

What are suggested coding snippets to add pieces to pure algebraic notation (this would change g1f3 to Nf3) when using the chess.js and chessboard.js (javascript) interface. Stockfish uses this type ...
1
vote
2answers
126 views

Why continue to increase search depth after mate is found?

Playing with test sets, several times I come across a behavior of the chess engines which I can't understand: Let's say I have the endgame [FEN "8/k7/3p4/p2P1p2/P2P1P2/8/8/K7 w - - 0 1"] which after ...
5
votes
2answers
2k views

Chess GUI that allows null-moves

Is there a GUI that allows null-moves as legal moves? Of course for engines the null-move heuristic already is an established technique.
5
votes
3answers
174 views

How can minimax chess engines do alpha-beta pruning without reaching the final positions?

In order to calculate far ahead, minimax chess engines must perform alpha-beta pruning, where they don't calculate positions that are obviously winning or obviously losing. Without doing pruning, ...
6
votes
6answers
339 views

Is it wise to resign a game if the win is only apparent too many moves ahead?

I will clarify my question with an example: A grandmaster plays a game against stockfish, with a material handicap for stockfish, and the advantage is not clear for either of the players. Throughout ...
7
votes
2answers
208 views

How do chess engines evaluate a position if the position is in the middle of an exchange?

In the minimax algorithm, chess engines do a depth-first search as far as they can calculate ahead, and then evaluate all these final positions. Then, using these evaluations they work backwards one ...
5
votes
4answers
428 views

Do the new chess AIs play gambits?

Do the new chess AIs, such as Alpha Zero and Leela Zero, play gambits? By gambit, I do not mean a merely nominal gambit like the mainline Queen's Gambit, but rather a genuinely speculative offer of ...
0
votes
0answers
47 views

Two engines match from a given position

I use Fritz 15, which allows the following options: You can let play two engines against each other a normal game. You can setup a position and let one engine play out the position. What I would like ...
2
votes
1answer
120 views

How to make Lichess local analysis utilize more cpu and memory? [closed]

I get around x12 faster evaluation when I run Stockfish myself, so I checked my utilization when running local analysis (Chromium and Firefox) and saw that it just utilizes one thread and few ...
5
votes
1answer
76 views

alpha-beta algorithm returns a value between alpha and beta inclusive?

I am coding up a chess engine and using the alpha-beta algorithm for tree scanning. I ended up doing what they posted here: int alphabeta(int depth, int alpha, int beta) { move bestmove; if (...
7
votes
3answers
236 views

Chess engine with danger (mate) warnings for beginners?

I am new to the site and would appreciate help in this area. At my current stage (beginner) I have started to draw or sometimes even beat the computer at low levels (ex. chess.com level1,2,3, lichess....
4
votes
1answer
153 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 ...
2
votes
1answer
520 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 ...
1
vote
3answers
216 views

Engine evaluating changing after making move suggested by engine

I've noticed that the engine (Stockfish 9) evaluates positions as significantly better for white if the evaluation is performed while white is on the move. The difference is sometimes more than half a ...
7
votes
1answer
162 views

In the Dubois-Steinitz match (1862), at what point does the match become irreversibly lost for White? And why does the engine not pick it up early?

I am a beginner player (~1400 rating on lichess). I was studying a famous match between Dubois and Steinitz shown below (analysis done by Stockfish on lichess.org). My doubts are: 1) At what move ...
4
votes
2answers
509 views

The principal variation is always wrong!

I read in an internet blog that when analyzing my games with an engine, it is often useless to copy the principal variation to my annotations, because (they say) it is well known that the principal ...
1
vote
2answers
100 views

Why do we increase depth of search for a mate detection in alpha beta pruning?

I was following a tutorial for making a chess engine and in that, while writing the alpha beta pruning function the tutorial before checking for all possible moves generated , checks weather the ...
5
votes
1answer
199 views

Do chess engines really prune more than 90% of branches?

I was looking at Fritz Online (https://fritz.chessbase.com/) engine's parameters/performance. Here is screen relating to one of made moves. It means that there was a general depth equals to 15 but ...
1
vote
5answers
209 views

Custom Chess (game) engine

Is there a chess engine which you can use regardless of the game's rules? For example I wanna create my own chess version in which queen will also be able to move as knight or just a 10x10-square ...
1
vote
2answers
121 views

I wanted to understand the chess engine comparison. What does this result matrix show?

For example in the first row and second column, Stockfish vs Houdini, the result is 27-25+7-3=-16. I understand that 27 signifies Stockfish's number of wins+ draws, similarly 25 signifies that of ...
2
votes
1answer
105 views

Is it possible to get DTM of a position from sygyzy tables?

This is a programming question related to chess endgame tables. As far as I know syzygy tables allow me to get WDL and DTZ information for a given position. Is it possible to somehow (without access ...
0
votes
2answers
101 views

Could chess puzzles change with the introduction of stronger engines?

Something I've noticed is even older chess puzzles never seem to age, somehow they even seem more masterful and demanding then the puzzles created today, but what if the solution for a puzzle is ...
2
votes
2answers
123 views

How Do Top Engines' Achieve Large Search Depth

Im new to programming chess engines. I have implemented a transposition table, search tree, and alpha-beta pruning, an can analyze ~80000 boards per second. However, even with alpha-beta search, when ...
0
votes
3answers
176 views

Why doing the Engine suggested move worsen my position?

It is going from #26 through +60 to +9. Thats all engines best moves with deep analysis. Schould it not be a forced checkmate if I will follow the engine evaluation?
0
votes
1answer
217 views

How do engines evaluate a position (actual algorithm)? [duplicate]

How do chess engines actually evaluate a position? I am looking for a technical answer, not a general summary of how minimax works, I already know how minimax and alpha-beta, etc, work, so please do ...
0
votes
0answers
26 views

How is the chess engine loaded into GUI? [duplicate]

Can I load my chess engine into a GUI while it's in the development process so things like debugging are easier ? If so, How and what are the difference between the different GUI Protocols ? Thanks ...
0
votes
1answer
136 views

Connecting UCI engine with iOS? [closed]

So I'm not actually making a Chess app, but I am trying to hook up an engine that uses a protocol almost exactly the same as UCI. I can get it working quite easily on a macOS app. Now, the hard part ...
1
vote
1answer
124 views

Engine recommends a move that (I think) loses a pawn

[FEN "rn2kbnr/ppp1pppp/8/3q4/3P4/8/PP2PPPP/1RBQKBNR w Kkq - 0 5"] If white doesn't play Ra1 then black can play Qxa2. But the engine says this is an inaccuracy, and that the best line is e2-e3.
1
vote
1answer
94 views

Tips for debugging and progressing a chess engine's implementation

As I mentioned in previous questions I'm currently following this tutorial for building my chess engine. The code was written in C#, but mine is in C++ and I'm in the phase of finalizing the board / ...
7
votes
2answers
291 views

Three Pawns for a Knight - Why Doesn't Stockfish Like it?

In a recent game I swapped off a knight for 3 pawns: [Event "County Match"] [Site "Deepest Darkest Southern England"] [Date "2018.01.20"] [White "English Player"] [Black "Ian Bush"] [Result "0-1"] [...
1
vote
0answers
109 views

Human–machine stronger than machine?

It seems to be pretty well established since the days of (the second) Deep Blue vs. Kasparov match that top machines can beat top humans at playing chess. However, Kasparov seems to claim that the ...