Questions tagged [engines]

Questions relating to chess engines: any computer program that is able to play/analyze chess positions.

Filter by
Sorted by
Tagged with
4
votes
4answers
4k views

chess.com Analysis “Accuracy” - What score is computer like for a given rating?

I have a few questions about engine use detection at online games on chess.com: Let's say both players are rated 1800 on chess.com online play and they make n number of moves in a game. White has 90%...
3
votes
1answer
72 views

Which engine is better at Chess960-Sttockfish or Leela?

It seems that TCEC has seen Stockfish and Leela go back and forth. It is probable that these days Stockfish is a little bit better than Leela. So, I was wondering since it is different in Chess960, ...
6
votes
3answers
3k views

Why is White's accuracy 99.7% instead of 100.0%?

Here is a short game played online at chess.com. [FEN ""] 1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. c3 d6 5. d4 Bb6 6. dxe5 Black resigned for some unknown reason; maybe a mouse slip or he/she ...
8
votes
4answers
707 views

Can K + N vs K force black into any corner?

Can white force this position [Title "KN vs K"] [FEN "8/8/8/8/8/8/5k1N/7K w - - 0 1"] into this position? [Title "KN vs K"] [FEN "k7/8/1K1N4/8/8/8/8/8 w - - 0 1"] Background: ...
3
votes
1answer
132 views

Transposition Tables

Are transposition tables (in engines) used for one or multiple games? My current knowledge of transposition tables is that when an engine searches the game tree, there will sometimes be positions ...
6
votes
4answers
661 views

Is there a software that analyses games through voice, telling you about moves and what you should have done, like Power Chess 98?

Almost 20 years ago there was a game called Power Chess 98 from Sierra. After every game you played, this sensual voice would analyze move by move telling you what you should have done, etc. It was ...
2
votes
1answer
62 views

When are games against engines drawn?

When two engines play against each other in a game of chess, when is it appropriate to declare a draw when clearly no progress is possible? For example: 8/6k1/8/R3K2p/2r3p1/6P1/7P/8 w - - 0 2 This ...
0
votes
1answer
53 views

Need help finding a tactics database with motifs

I am trying to make a neural network which could determine what chess tactic is present in a position. For this, I need to have a database of chess tactics labelled with correct motifs. A similar ...
3
votes
1answer
68 views

What are the most common checks in chess?

I read somewhere that to optimize move generation for a chess engine it's good to have fast detection of position where one side is checked (to eliminate illegal moves). The author suggested that ...
1
vote
3answers
631 views

Chess engine with no evaluation

One of the most difficult parts of a chess engine is the evaluation function. Handcrafted evaluation functions are very long and complicated, while NN evaluations are hard to make and train. That's ...
31
votes
8answers
17k views

Is Stockfish 11 (level 20) beatable?

I have heard many people saying, “Hah! I beat Stockfish,” and one saying, “I am the best chess player ever! I beat Stockfish.” So I wonder if it is possible, just to know whether I should try to beat ...
13
votes
2answers
748 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 ...
1
vote
1answer
88 views

How many positions per second should my homemade engine calculate?

My program prints time spent on executing a function for doing/retracting move, and both take together an average of 00.0002 seconds. That means my engine can analyze at most 5000 positions per second,...
2
votes
1answer
78 views

Mac - Chess App

I was trying to play chess on the included chess app on mac, and after the computer's turn, it will not allow me to make any move at all, and I am 100% sure I am not in check as the game just started, ...
0
votes
0answers
53 views

Forced mate in 'n' from opening [duplicate]

Advanced chess engines can report a forced mate (for some given position) within a huge number of moves. For example, mate in 40 or 50 is not unheard of. Theoretically, is it possible that there ...
4
votes
2answers
91 views

How to calculate percentage of accuracy of game-play based on the number of mistakes, blunders and inaccuracies?

For some time now, chess.com analysis suggests the accuracy of the gameplay based on the blunders, mistakes and inaccuracies, one committed during his/her gameplay. Now, my question is, Whether there ...
2
votes
1answer
348 views

Is there Python code to use the Leela neural network?

I am interested in doing some analyses of chess games using the neural network trained for Lc0. To that end I need to be able to turn PGN into the right kind of input vectors and to load and use the ...
1
vote
2answers
63 views

Material score in analysis report

Is it possible to do an analysis using Scid vs PC or any other major chess program where it shows material score after each move in addition to showing the normal evaluation score? So for an endgame ...
3
votes
1answer
74 views

Are there any cloud engine services solely 'pay per use'?

I'm looking for a chess cloud engine service where I only have to pay for the time I use. I thought chessbase.com provides that, but you have to get a premium membership first (as far as I understand)....
4
votes
2answers
133 views

Can I host lichess server to my local machine to use the study offline?

Lichess is a free, Ad-free and Open-Source chess server. To me, it has the best STUDY option over the internet. I am thinking whether it's possible or not to host a localhost setup using the source ...
5
votes
1answer
101 views

What insights have neural networks revealed about chess?

I've been interested to see an analysis of the decision making processes of an NN in determining the difference between good and bad moves. The only writings I've seen is about how NN can be applied ...
5
votes
5answers
2k views

Is there a software to measure a player's strength based on a game?

I flicked through some papers that described how one can obtain an ELO estimate based on a game. (Basically we were comparing players' moves to the best moves suggested by a strong chess engine. My ...
3
votes
1answer
61 views

How to I apply moves (bitboard) and continue searching? My current attempt is throwing a strange error!

Explanation I have a list of all possible current moves in a position. At each node, I want to then generate all possible moves and continue. The problem is that my code is modifying the list of moves ...
3
votes
2answers
100 views

Compiling Stockfish to disable own castling while allowing opponent castling

For artistic purposes, I would like to create and study engine games in which only one side is able to castle. For this, I need to compile a version of Stockfish which never castles, and doesn't ...
19
votes
4answers
5k views

How often do grandmasters miss checkmate?

Although top players are extremely good at finding checkmate, the number of permutations of moves in just 3 moves can be hundreds of thousands, and the farther out the possible mate (e.g. mate in 4, ...
5
votes
1answer
46 views

Hosting bughouse server for local competition?

I'm interested in running a local competition for bughouse engines. What chess server software can I use to run the games? The most relevant question I found was but the answer is almost 4 years old. ...
-1
votes
0answers
20 views

What is the definitive resource(s) to analyze chess, like an engine? [duplicate]

What are some good resources to learn to analyze chess for the purpose of understanding the engines. I am not asking about the resources to learn chess, we have plenty of books on that. I am more ...
3
votes
2answers
131 views

Play against a computer, but only with a few pieces and without the kings

I would like to practise playing chess against an chess engine/program, but only with a few pieces, without the kings. For example, 3 pawns against one knight. Does exist any chess engine/program ...
0
votes
2answers
64 views

Is there a standard way of scoring a position for chess programs?

It seems most chess programs score a position basically the same way, give or take a few tenths of a point, for a given position. For example, Stockfish might score a position as .65 while Houdini ...
1
vote
1answer
80 views

Why is stockfish not accepting my move?

I am trying to play with stockfish from terminal. I entered the following commands: position startpos e2e4 d The output was: Why is stockfish not accepting my move?
3
votes
2answers
95 views

How to get static evaluation from Stockfish in case that a king is in check?

I am working on a program that should recognize the difference between human and computer players. For this purpose, I need some parameters. A part of them would be the individual values of the static ...
4
votes
1answer
200 views

Are these magics wrong?

I am working on my chess engine and wanted to finally implement magic bitboards to get a huge increase in performance. Basically I was writing a method to check if a number can be used as a magic for ...
4
votes
3answers
332 views

Is there a standard system of classification of games?

Given there are practically infinite number of chess games possible, does there exist a standard system of classifying or naming games simlar to how there are rules for naming a chemical compound ...
1
vote
1answer
53 views

How to store moves for a magic bitboard system?

I am currently trying to implement magic bitboards into my chess engine. Let's just talk about rooks here. Given a square, what I can currently do is: -Calculate the sliding moves on an empty board. ...
3
votes
2answers
98 views

Discovered attack in quiescent search

I'm implementing quiescent search in my chess engine, although just capturing moves have been generated. In the below position, at 1 ply, the white queen captures the pawn, but the quiescent search ...
2
votes
1answer
67 views

Engine is evaluating the same position at the same depth with different score

My engine is evaluating the same position at the same depth with a different score inside the search tree, is that normal? [Title "depth 1 ply 3 alfa -20 beta -15 score -15 (1.Na3 a5 2.Nh3)"] [FEN ...
1
vote
0answers
50 views

Magic bitboards: My indexing doesn't seem to work!

I am beginning to understand magic bitboards. I have successfully implemented them with Rooks, and I am currently working with Bishops. The method is very similar though. Problem I have a bishop on g7 ...
1
vote
1answer
88 views

Mate In N algorithm-Lichess Computer Analysis

Is it possible to have the computer analysis report mate in 12 moves to only change that to mate in higher number of moves, like 15 for example, after it searches deeper?
14
votes
3answers
2k 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 ...
24
votes
7answers
5k views

Would an ensemble of chess engines beat the best one?

In many areas such as prediction and classification, ensemble methods tend to outperform individual methods. This made me wonder if it would make sense to pick a few of the top chess engines and work ...
1
vote
1answer
69 views

Calculating the precise number of combinations of possible moves from a given position

I was surprised Bobby Fischer couldn't find a mate in 3 within 30 minutes in this problem by Pal Benko. This made me wonder-how many actual moves are possible with so few pieces left in only 3 moves? [...
2
votes
0answers
38 views

Multi-thread performance

I'm implementing multi-thread in my engine but I think I'm not getting the expected performance boost. Below are the results from the initial position to depth 10. The single thread version takes ...
4
votes
1answer
99 views

Creating a New Neural Network for chess

I'd like to have my own chess engine similar to Leela for personal use. I’d want it to have a decent strength, let’s say 2k, and be able to play with it. I'm wondering if I can use Leela to create a ...
6
votes
2answers
806 views

How are online chess engines' architecture designed?

I recently build a chess engine using javascript (https://github.com/Ram-the-coder/ai-chess-engine-v2). It runs on the browser - because of this when the chess engine is computing the best move, the ...
1
vote
1answer
38 views

ELO change of engine from pure material to very good evaluation

I am currently rewriting a chess engine with a friend. We decided to first work on the search and only later if the search works really well, we will do some very good evaluation. The engine itself ...
2
votes
2answers
76 views

Setting up BugHouse on my computer

I want to have a setup on my computer to play BugHouse with three engine. One engine would be my partner and the other two would be the opposing team. How can I setup such a scenario? I use Linux but ...
5
votes
1answer
224 views

Is there a list of approximate ELO ratings for each Stockfish level?

I want to create something that will select an appropriate Stockfish difficulty setting automatically given the player's rating. The straight Stockfish v11 that I've downloaded has 20 difficulty ...
1
vote
2answers
177 views

Using the Stockfish move generator in a home chess engine

Basically, I’m creating a chess AI and I want to focus on the search algorithm rather than the most complete way or fastest move generation portions. So, for now, I was thinking I could use a prebuilt ...
3
votes
2answers
561 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
26 views

Static null move CPW engine

I have two questions about a code implementing a static null move. The questions are in the code. The code is extracted from here: CPW engine search code if (depth < 3 && !...

1
2 3 4 5
14