Questions tagged [engines]

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

Filter by
Sorted by
Tagged with
4
votes
1answer
67 views

Chess Engine: Generate a Bitboard of Pinned Pieces

I'm currently working on a chess engine and have a pseudo-legal move generator working. I'm looking for a way to efficiently generate a bitboard of pinned pieces, so I could skip them when generating ...
2
votes
0answers
58 views

Python-chess : Are the move scores enough to rank moves from the most to least likely moves played by an engine?

My goal is to make a script to finding the most and least likely move an engine will play, and then make a list it. I tried using the scores to make such a list, with the best score equalling the most ...
1
vote
1answer
113 views

Python-chess : how to get a list for the best engine moves

I am working on a simple cheat detection script to find if a user used one of the top engine moves in a game, so I found this great python-chess library Additionally, I found this example to getting ...
4
votes
1answer
88 views

Leaving the score aside, what are the criteria allowing Stockfish to choose its “best move”?

I'm trying to understand how a chess engine like Stockfish works. I use Stockfish 10 directly, without an UI. For example, for this position (white to move)... r3n1k1/1bpp2pp/pp2p3/2P1P3/R2P4/3B1rPq/...
1
vote
0answers
27 views

SCID vs. PC: Multi-Engine Analysis

Is it possible to configure SCID to output the annotating engine in the variation itself? For example; Ne5 (Stockfish: -0.01 / +0.32 25. Bc4 ...) (Engine2: +0.20 / +0.48 25. 0-0 ...) (Engine3:...
3
votes
0answers
81 views

Wrong perft result?

I'm writing a chess engine for fun. Currently I'm finishing writing the move generator. During the research I leaned about PERFT for debugging my software. Indeed, I found many bugs, some of them was "...
3
votes
1answer
76 views

Stockfish on Android Question

I recently downloaded Stockfish 10 on my android phone and after unzipping the rar file, there were three separate engine binaries and I am wondering which one would be the strongest one to use. The ...
13
votes
2answers
6k views

Bad Stockfish evaluation

This is the study [fen "3B4/1r2p3/r2p1p2/bkp1P1p1/1p1P1PPp/p1P4P/PPBK4/8 w - - 0 1 "] As you can see, Stockfish gives an absolute decisive win for black, though it is clearly a draw!! Check it out ...
3
votes
1answer
145 views

How does Allie's search algorithm work?

Allie is a strong engine that's looking competitive with the top ones (Leela Chess Zero and Stockfish). It's supposedly based off AlphaZero, but works differently. As far as I understand it, the most ...
1
vote
1answer
67 views

Enable pondering with Leela chess zero

I just got Leela Chess Zero up and running inside docker using this guide. Added a couple of weights from here Now, when I run leela $> lczero -w path/to/weight/file go info depth 16 nodes 435 ...
2
votes
1answer
101 views

How to use opening books on mac/linux

I would like to use opening books for my stockfish chess engine, but I'm not sure how to do this. As far as I understand stockfish doesn't support these, so I though I setup a system next to stockfish,...
8
votes
5answers
332 views

Why does Fishtesting test Stockfish against itself, not other engines?

As I understand the so-called Fishtesting, people write patches, then try the patches against the current version of Stockfish. If the new version performs better, it's promoted to be the main version;...
4
votes
1answer
236 views

Are there any attempts at writing Stockfish MCTS?

As of time of writing, there is one major traditional engine using Monte Carlo Tree Search for its search algorithm - Komodo. The MCTS version of Komodo started out weak but gained strength quickly, ...
5
votes
2answers
304 views

Leela Chess Zero - UCI engine

What is current use status of Leela for practical player? Is it already working well as UCI? Could anybody give some insight on strength with various thinking times, especially in analysis mode? As ...
4
votes
3answers
397 views

To what extent (if at all) is the new Komodo 13 MCTS an AlphaZero Lite?

The new Komodo 13 MCTS has been announced with the claim that: Komodo 13 MCTS thinks like no other chess engine in the world. Inspired by the ideas of AlphaZero and Leela, Larry and Mark set out ...
6
votes
2answers
120 views

How to evaluate and comment moves in PGN format?

I want, with Python-chess, to evaluate any movement of some game and generate the PGN with analysis, as Chess.com does in its analysis. For example, i played one game with fools mate and they ...
0
votes
1answer
53 views

Is it possible to manually alter initial values in a chess engine?

I am curious of the games that would arise if I changed the initial value of a knight to -1 or make standing on e5 worth -10 points. How would I go about to create such an engine? Is it possible ...
3
votes
3answers
701 views

Why was castling bad for white in this game, and engine strongly prefered trading queens?

I'm a novice player, trying to improve. In the following game I played as white recently on chess.com, I analysed afterwards and my worst move of the game was apparently when I castled. The engine ...
0
votes
1answer
78 views

How much of the Principal Variation can I trust? [closed]

Chess engines will have a Principal Variation (PV) that may be as many as 30 (or more) ply deep. Of course, the PV and the other facets of the engine help to determine the best move at the root ...
13
votes
2answers
697 views

Can an Irwin Cheat Detector catch a user who is using a Leela chess bot for cheating?

I’m a big fan of chess cheat detection apps, like Irwin that was created by lichess.org. But I heard that there is a new bot called Leela that is teaching herself how to play chess, and to think in a ...
2
votes
2answers
93 views

Is it possible for an engine to be stronger at short time controls, and weaker at long time controls?

Is it possible for engine A to be decisively better than engine B at short time controls (say, 5 min/game) but decisively weaker at long time controls (say, 1 hour/game)? If the answer is yes, what ...
3
votes
3answers
542 views

Why does Lichess only tell me my “inaccuracies”, “mistakes”, and “blunders”, and not e.g. my “brilliancies”?

A computer analysis of a game in Lichess lists your "inaccuracies", "mistakes", and "blunders". An example is below: What I don't understand is why Lichess doesn't point out my good moves. It seems ...
-2
votes
1answer
131 views

Why did the (Black) computer play 9. … Ke7 here?

Not having played chess in ~5 years, I started playing against the computer on my phone at ELO~800 (I've since reached ~900). I do not know what engine the app uses (Chess for iPhone by Mastersoft Ltd)...
12
votes
2answers
1k views

How does engine strength scale with hardware?

Say I run Komodo on my 4-core machine. How much stronger would Komodo be if I used an 8-core machine? A 40-core machine? A 4000-core machine? Is there a general relation for this? Also, does this ...
4
votes
1answer
88 views

Color-coding moves and games

If you are familiar with watching chess broadcasts on ChessBomb, you'll know they have an engine running on the server which evaluates moves, and colors each move according to whether (according to SF)...
1
vote
1answer
179 views

Why does NCM show no progress for Stockfish when each new version has to beat the previous version?

NCM plays each Stockfish dev build 20,000 times against Stockfish 7. This yields an approximate Elo difference and establishes confidence in the strength of the dev builds. As of time of writing, one ...
3
votes
2answers
166 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, ...
0
votes
2answers
170 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 ...
3
votes
1answer
92 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
182 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
135 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
295 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, ...
5
votes
2answers
140 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
168 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 ...
13
votes
2answers
562 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 ...
6
votes
2answers
359 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
112 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 ...
11
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.
4
votes
2answers
214 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 ...
4
votes
1answer
173 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
144 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
102 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 ...
9
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 ...
9
votes
1answer
379 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
599 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
268 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
171 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
131 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
76 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
267 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 ...