Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
0answers
70 views

An objective measure of the difference in strength between top programs and top human players in the four most popular forms of chess?

Is there an objective measure of the superiority (or otherwise) that the strongest computer programs enjoy over the strongest human players which can be compared across the four main forms of chess, ...
-1
votes
2answers
140 views

Why is it a mistake to trap this bishop?

In the below position, I played pawn from g7 to g5, trapping the white bishop. The computer didn't like that at all, and gives white a huge advantage. Instead, it wanted me to just simply develop my ...
2
votes
1answer
84 views

Is there a chess AI that can force checkmate on a specified square?

I'm looking for a program that can force a lone king into checkmate on a specific square. Are there any programs out there that can do this?
5
votes
2answers
131 views

Do chess AIs still use old-style opening books?

(See also this related question and this related off-site discussion.) Do state-of-the-art chess AIs still normally start games in human-compiled opening books of master games? Years ago, as far as ...
-1
votes
1answer
72 views

Python and Stockfish [duplicate]

I am trying to get Stockfish to work in Python 3. Just to get started on my project, I tried to have Stockfish think until a depth of 20. However, the program instantly returns that Stockfish ...
10
votes
3answers
239 views

Human-like engine for endgame training

I am doing endgame training with LucasChess (LC), but the problem is not really related to LC, but to chess engines in general. I have this problem: See picture. When I move Kh6 in this position, ...
6
votes
2answers
122 views

How do opening books in engine chess work?

I thought opening books were just big compilations of opening moves that engines have access to, and they choose at random which move to play from the list of moves that the opening book says is good. ...
2
votes
2answers
100 views

Where is the neural network used in MCTS?

Where does an engine (such as AlphaZero) use its neural network in MCTS? It shouldn't be needed to evaluate positions reached via MCTS, since I'm under the impression that only terminal game states ...
11
votes
2answers
308 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 ...
7
votes
2answers
305 views

Is there a reason AlphaZero hasn't been allowed to learn for longer?

Why don't the developers of AlphaZero let it learn for days, or even months on end? Wouldn't its neural network become much stronger, at the cost of just occupying some computational resources for a ...
1
vote
1answer
103 views

Why might this supervised engine make mistakes based on an example game?

I am developing in my free time a python-based supervised chess engine. It is trained on past games to detect who wins (only games without draw), then it proceeds as follows: 1) find the top 4 moves ...
10
votes
2answers
3k views

What was the first chess engine that could beat the world champion on a standard desktop?

What was the first chess engine that could beat the world chess champion when running on a standard desktop playing at standard speeds (i.e. not blitz chess)? For concreteness, say a $1000 PC.
3
votes
2answers
186 views

Can anyone recommend a Chess platform that, well, you better read further

I thought I might take a minute to share a project I started about 20 years ago. Essentially, I used my ChessMaster program to make a "Chess Explorer". In 1998, I noticed I could add notes into ...
3
votes
1answer
142 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 ...
2
votes
2answers
123 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 ...
3
votes
1answer
66 views

CLI tool to let chess engines play each other [duplicate]

I'm looking for a command-line tool to let two chess engines play a game or a tournament against each other. The tool should support UCI and/or the xboard protocol and it should allow to save the game ...
8
votes
3answers
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 ...
6
votes
1answer
214 views

Have engines refuted any established openings?

Before engines were introduced to chess in late 20th centry, there were many established openings that were played by the top players at that time. I am wondering if any of those openings were refuted ...
0
votes
1answer
275 views

Why can't I use my stockfish engine with python chess? [closed]

I'm using python chess and I'm trying to use my stockfish 10 engine downloaded from the stockfish website. import chess.uci engine = chess.uci.popen_engine(r"stockfish-10-linux/Linux/...
3
votes
3answers
197 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 ...
1
vote
4answers
154 views

Can GMs use computers to beat their opponents?

For example, suppose it's game 12 of the Carlsen-Caruana match last year. Caruana has white, and he wants to win before the tiebreaks. Now if instead of Caruana playing white, Stockfish were playing, ...
7
votes
1answer
111 views

AlphaZero’s search procedure

I am aware of related questions and great answers on the same topic such as Understanding AlphaZero. My questions are related to the following figure on AlphaZero's search procedure This figure ...
0
votes
2answers
69 views

Regarding Chessbase softwares

I have bought Houdini 6 pro ( chessbase version ), for the primary purpose of practising by playing games against Houdini 6 pro (and other engines I own) I cannot figure out how to play a game against ...
4
votes
2answers
256 views

Do engines remember previous analysis?

Suppose I let the engine analyze a given position (let's say for simplicity the starting position), and then I execute the move suggested by the engine (let's say 1. e4). Then I let the engine analyze ...
1
vote
1answer
78 views

Node Cap for Stockfish [closed]

I discovered something quite unusual when working with stockfish 10 chess engine in arena. The discovery leads me to ask: Why does Stockfish_10_x64 have a Node Cap when searching moves based upon ...
-4
votes
3answers
173 views

What are unsolved problems in chess? [closed]

What I want to know is: are there any problems in chess that remain unsolved?
1
vote
3answers
594 views

The games AlphaZero lost

AlphaZero lost 6 games to Stockfish in a 1000-game match from the starting position, at least one of which was with the white pieces: A game A0 lost with white. For some reason, these games haven't ...
1
vote
1answer
94 views

How is MultiPV enabled in general?

I looked at the "Description of the universal chess interface (UCI)" dated April 2006, and did not find a command or option that seemed to address how a GUI might enable MultiPV (I assume that PV ...
2
votes
1answer
190 views

Is AlphaZero deterministic?

AlphaZero searches for moves using Monte Carlo Tree Search (MCTS). As I understand MCTS, it takes the root position, goes to a child node, and then plays random moves until one side wins. Since the ...
5
votes
2answers
734 views

Alpha Zero vs Lc0 - time for self-play

Alpha Zero defeated Stockfish after only 9 hours of self-play. On the other hand, Lc0, has been training for several months and while attaining impressive strength (to say the least...) it's still not ...
9
votes
6answers
388 views

Is it possible for a move to be recomended by engines but rejected by professional human players?

Am wondering if it is possible for a move to be considered "good" by engines but is rejected by professional human players. One possible reason that I can think of is that the in order for this move ...
1
vote
1answer
277 views

Looking for a Python chess engine

I am looking for a Python chess engine package. It must be fully contained in Python, I don't want to download separate files for the engine itself and link them up somehow. All I want it to be able ...
2
votes
1answer
122 views

Python Engines to Beat to Take the Crown

Since Python is extremely slow, chess engines are almost never written using it. I've been building a Python engine to avoid this issue (through JIT compilation), and want to compare my engine ...
0
votes
2answers
107 views

Testing an engine (UCI) against an older version of itself

I am making modifications to a chess engine. I want to get quick feedback on whether the modified version seems stronger than an unmodified version or not, by fighting the older version multiple ...
0
votes
1answer
66 views

Open source engine that doesn't lose on time

I'm looking for an open source engine (doesn't have to be very strong) that can be loaded with python chess uci module and can play at very fast time controls (few seconds plus tens of milliseconds of ...
4
votes
1answer
187 views

Am I actually playing against a 1425 rated player?

I am using Deep Shredder 13 and somewhat struggled with the engine at 1400. I then managed to defeat 1425 with great ease. The game went as follows [FEN ""] 1. d4 e6 2. Bf4 Nf6 ...
3
votes
1answer
55 views

Are there any engines that present evaluations based on probability of finding moves?

All engines I'm aware of focus on finding the best moves to win the position. I'm curious whether there are any that exist that attempt to present an honest evaluation of a position, with human ...
5
votes
1answer
787 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 ...
1
vote
3answers
156 views

Can you improve a supercomputer evaluation on your own move?

While watching the Chess World Championship, a few news outlets provide updates on how supercomputers are evaluating the board position. The example I'm looking at is using the Sesse Supercomputer, ...
2
votes
2answers
209 views

Website that decode chess moves?

I am a complete beginner and have started learning chess one month ago. I play online on lichess.com. I lose a lot of games which is understandable too. Many people advised me that I should analyze ...
0
votes
1answer
97 views

Decent Playing Strength Chess Engine

I'd like to make a chess program to play decent strength chess (say around 2100 ELO). What are the factors in Eval & techniques in Search that one would consider to achieve that rating?
0
votes
1answer
115 views

How to use crafty chess engine in the gui chess64.exe link provided

Given below is the crafty chess engine of xboard or winboard version free version. https://github.com/MichaelB7/Crafty/releases/download/25.2/Crafty-25.2-Win64.zip Given below is the book https://...
1
vote
1answer
74 views

How to debug Move Generation function?

I'm writing a chess engine, and I'm testing that the move generator is working correctly using a perft() function. In perft position 2 my engine appears to be 90 moves short at ply 2. How do authors ...
3
votes
2answers
169 views

Analyzing using Chess Engines - Giuoco Piano/Steinitz Variation

[FEN ""] 1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. c3 Nf6 5. d4 exd4 6. cxd4 Bb4+ 7. Nc3 Nxe4 8. O-O Bxc3 9. bxc3 d5 10. Ba3 dxc4 11. Re1 Be6 12. Rxe4 Qd5 13. Re3 O-O-O 14. Ne5 Nxe5 15. Rxe5 Qxe5 16. dxe5 ...
4
votes
2answers
135 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'...
3
votes
1answer
116 views

Guidance on a new idea for an engine design?

for my A-level computing project I was going to do an investigation into a type of engine design which incorporates Neural Networks that I haven't seen elsewhere; as part of this project I need to ...
1
vote
0answers
62 views

If two perfect chess AI's played each other, would it always be a stalemate or would white win for an inherent first-move advantage? [duplicate]

In the circumstances of two perfect AI's playing each other, will white have an inherent advantage? Or can black always play for a stalemate by countering every white strategy?
0
votes
1answer
148 views

Is this the correct flow of a chess game?

I am trying to program a chess game as a challenge to myself, however, I am unsure if I have all the moves correct to play a legal game (not any advanced moves, that would be a challenge for another ...
1
vote
2answers
106 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 ...
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”. ...