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
0
votes
1answer
20 views

If there is two knight that can go to the same square, how does lichess know which knight I moved in the blind mode?

I just thought about something where two knight can go to the same square. Let say if a white knight is at c3 and a black knight is at b2. They both can go to a4 square. My question is that if I am ...
0
votes
2answers
742 views

Long algebraic notation-piece promotion

I am building a chess engine with the use of Artificial Intelligence, and I am almost done as long as the AI and the internal game mechanics are concerned. Currently I am training the AI and I want to ...
4
votes
2answers
381 views

Quickly converting board to bitboard representation using python-chess library

I would like to convert a given chess board into its bitboard representation, but my implementation is rather slow. Here is what I'm doing (using the python-chess package): board = chess.Board('...
1
vote
1answer
51 views

Why does my ability/rating against bots vary?

I've recently started playing chess again and am training against the chess.com bots. I've been able to blaze through the lower rated bots and started to get stuck around the 1100s with having to take ...
0
votes
0answers
6 views

How to solve interface issues on Sesse analysis tool? [duplicate]

I tried to use the sesse analysis tool (https://analysis.sesse.net/), but when I use it, there is a big issue : there are no pieces on the board, so i can not play a move, I can't use the tool. I ...
1
vote
1answer
154 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?
3
votes
3answers
146 views

Engine-invented variations/hypotheticals

After watching a few alphaZero vs stockfish games, I was very intrigued. Clearly, engines can play at a different kind of level, but for the most part the openings seem pretty meta. Nothing extremely ...
2
votes
1answer
106 views

Why does Stockfish lose against this piece sacrifice in the Berlin Defense?

In a recent YouTube video, Jonathan Schrantz presents an absurd (?) piece sacrifice in the Berlin Defense, which Stockfish seems to vastly underestimate. The engine evaluation shows around -4, until ...
1
vote
1answer
92 views

What does an equal odds game look like for a GM vs an engine?

This question began an interesting discussion on handicaps for engines that play against GMs: Engine-invented variations/hypotheticals This led me to wonder, are there differences in handicaps in ...
6
votes
6answers
4k views

What are good ways to check blunders after the match?

Currently I am using Tarrasch for GUI and Rybka 2.3.2a as the engine. With that, I am able to kibitzing every position in the game and check for any blunder. So basically this is what I always did: ...
4
votes
1answer
104 views

What is the idea of 'ponder' in the UCI protocol?

I've created my own chess engine and now I'm trying to connect it into the Chess Arena. Everything is actually working fine when I play them together (Demo). But I tried to play with it and didn't ...
5
votes
1answer
179 views

What is the difference between a brilliant move and the best move?

As far as I know, nowadays the chess engines can judge that a move is the best or that it is brilliant (usually denoted by ! or !!). I was wondering what is the precise criterion for this ...
7
votes
4answers
3k views

App that identifies moves as Excellent/Good/Mistakes/Blunders

I really like the analysis tool on chess.com that processes your games and identifies the Excellent and Good moves, as well as Mistakes and Blunders. It also proposes which move should have been ...
10
votes
1answer
2k views

A disagreement between me and my chess engines

In a recent blitz game, I was playing as White and faced the Lasker-Pelikan variation of the Sicilian. Things were not really going according to plan, I was down a Knight and facing obliteration. In ...
1
vote
1answer
147 views

Why does Stockfish NNUE flatline?

Flatline - to produce a flat evaluation curve. As I understand engine chess, engines "flatline" in fortress positions. In these positions there are a lot of effectively-equivalent positions ...
13
votes
3answers
3k views

How can I know the Elo rating of my chess engine?

I built an uci compatible chess engine, and I would like to know its Elo rating. What is the easiest way to get it? I would like something that works both on Linux and Windows.
3
votes
1answer
82 views

Null Move Pruning

I just downloaded the latest free version of Komodo 12 to try to disable the Null Move Pruning option. So, in my mind, I supposed that for depth 2, it will need 20*20= 400 nodes However I arrived at ...
2
votes
1answer
114 views

How to measure Leela Chess Zero improvement

I searched Leela website for some statistics about its self-training, the number of games it played with itself in order to assess its progress or to be able to predict whether it is going to win the ...
3
votes
0answers
109 views

Highest depth ever achieved

I saw a guy that went into depth 70 with no search moves at 41, 192, 897, 168, and 184 nodes from the starting position on Stockfish a few years ago. I would like to know if this is still a record or ...
9
votes
8answers
1k views

How to make an AI chess engine which can play like a human of similar rating?

We have lot of sophisticated chess engines, but I always prefer playing with a human online, because they make genuine mistakes / blunders which adds a human touch. Playing with computer at a high ...
2
votes
1answer
71 views

Are there awards or titles for writing chess engines?

I recently found out that, in addition to the well-known titles for chess players, there are titles available for chess composers. Is there such a thing as an award or title issued to those who have ...
4
votes
1answer
123 views

A question about draw detection in chess engines

Let us look at this position. [FEN "4k3/8/8/p1p1p1p1/P1P1P1P1/8/8/4K3 w - - 0 1"] This is obviously a draw. Analyzing this with the Stockfish engine says that it is a balanced position. ...
3
votes
1answer
143 views

Why does AlphaZero implement time steps in its input layers?

I'm trying to build my own chess engine using neural nets, and have been researching papers from Deepmind about their algorithm implemented in AlphaZero. Since chess is a game with perfect information ...
4
votes
1answer
581 views

Python script to let stockfish selfplay 10 games from a given position

I would like to have Stockfish to selfplay 10 games starting from a given position. Game should end after 10 moves. From the python-chess documentation there is an example of playing only one such ...
0
votes
1answer
43 views

Looking for a simple GUI for variants of chess

I am currently coding an engine for a variant of chess called Monster Chess. I was wondering if there a GUI existed that would simply take pieces from a square to another (eg e4 to e5) without ...
2
votes
1answer
61 views

limit stockfish 9 to a specific range of ELO rating

I am using stockfish 9 for our chess game project, and I want to limit the ELO rating of the engine to a range. I saw attributes like movetime and depth are used to limit the engine skill level, but I ...
1
vote
1answer
37 views

Polyglot opening book: getting incorrect moves

I am in the process of adding an opening book to my C++ engine and I hit a problem. Here is what I have: The Perfect2021.bin opening book that I would like to use. The function that creates the ...
1
vote
1answer
42 views

Depth problem in stf 12

I don't understand something about depth in STF 12, in fact i thought it was basically the number of anticipated half moves, but when I run it, I sometimes have results with higher depth and less ...
3
votes
1answer
164 views

Candidates for the longest 8 man checkmates?

Are there proven 8 men checkmates that have a good chance to be the longest checkmates? How were they proven and why are they good candidates?
3
votes
4answers
811 views

What is the farthest away a game can be from a guaranteed checkmate?

What is the maximum number of moves away from checkmate that a player can be where checkmate is guaranteed? There are many positions that are a guaranteed win for a player if played perfectly, right? (...
8
votes
3answers
510 views

Big changes in engine's evaluation after considerable time

I hope this question hasn't been asked before. I am looking for some examples where, say, the latest Stockfish or Komodo engine (or possibly some of the top NN engines) evaluates a position as plus or ...
7
votes
0answers
103 views

How often do hash collisions occur in modern chess engines?

This is a question I am asking for a chess engine I am attempting to create. I have read that engines like Stockfish can look at around 100 million positions per second on a good computer. The code on ...
4
votes
2answers
183 views

How many games to get a good idea of computer chess board rating?

I have an old Radio Shack 1850 Electronic Chess Computer, which I would like to know the ELO rating each level plays at. The instructions just give average number of seconds per move. I figure I ...
12
votes
3answers
680 views

Chess positions that are easy for humans but near impossible or confusing for computers

I noticed that one student is performing exceptionally well and beyond his level during an online class. I was wondering if there are particular chess positions that I can use during class to find out ...
1
vote
3answers
175 views

Fastest way to generate castling moves in a computer chess engine

I am currently developing a Bitboard chess engine using C++. I am in the process of creating the move generator function. I have completed most of it and only the casting part is left. I have used ...
3
votes
3answers
1k views

Stockfish Evaluations

I've been getting Stockfish to analyse lines of the KID, and the evaluation gives a score of around +1.5: White has a big advantage. How come this is true, when the KID is a playable(and good) opening?...
9
votes
4answers
2k 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 ...
28
votes
4answers
4k views

Is there an engine that finds the best “practical” move?

A standard chess engine will find the move it considers best assuming best play from both sides. But this move might lead to an insignificant advantage or a tricky line that can easily result in ...
5
votes
2answers
4k views

How do you have Arena show the second and third best move in analysis?

How do you have Arena show the second and third best moves in analysis? I seem to be able to only see the evaluation for the engine's best move.
3
votes
1answer
135 views

CNN autoencoder for feature extraction for a chess position

I'm currently building a chess engine in my free time while entering my second year of my master's studies in computer science. For a class we need to perform a litterature survey of a topic and ...
11
votes
2answers
3k views

Can you really learn from playing against computers just like when playing against humans?

I am wondering whether or not playing against chess against a computer will help you get better as quickly as playing against humans. The motivation for this questions come from video gaming. I used ...
2
votes
2answers
119 views

How do endgame tablebases calculate checkmates to do retrograde analysis on?

I understand that once endgame tablebases get checkmates, they do retrograde analysis and are able to calculate forced wins. However, how do they calculate the checkmate in the first place? Do they ...
6
votes
2answers
8k 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 ...
3
votes
1answer
89 views

How can I convert a possible pieces' moves to an actual move in a bitboard?

If I have a bitboard (e.g. for knight squares he can move to) like this: 00000000 00000000 00000000 00000000 00000000 01000000 00100000 N0000000 How can I "convert" it into a move or "...
3
votes
1answer
112 views

Relation between Elo and search depth for basic minimax

If we use the most basic approach to a chess engine (for example, for a codegolf): minimax to a fixed depth with the material count as static evaluation, then how strong is this algorithm? This of ...
3
votes
1answer
81 views

Engines tuned to masters’s styles

I saw a stream by IM Eric Rosen where he showed a stronger version of stockfish than the one on lichess.org. He said that it is a version that is given to masters with the evaluation function ...
1
vote
1answer
46 views

How do I find bitboard attack maps non-manually?

I am writing a C++ chess engine based on the magic bitboard, where ordering for bitboards is from LSB to MSB in Little-Endian Rank-File mapping. I'd like to have a 6x64 dimension 2D array for all ...
5
votes
1answer
81 views

Increase in pawn value towards endgames

I’m writing my own chess engine where I’ll be implementing something called a tapered eval which is one that evaluates the position with an endgame specific evaluation function and a middle game ...
3
votes
1answer
214 views

Can all UCI engines output a FEN for the current position or is it just StockFish?

I know in StockFish if you type "d" you get an ascii view of the board and a FEN string for the current state. Is there any command in other UCI engines such as Rybka 4 that will output a ...
6
votes
2answers
189 views

How to exercise an opening variation with a chess engine?

I am reading an opening book in King's Gambit, and been writing down the lines to study later. But I wish there was a chess engine, that goes for those lines so I can play against them. I want to play ...

1
2 3 4 5
16