Questions tagged [engines]
Questions relating to chess engines: any computer program that is able to play/analyze chess positions.
1,043
questions
0
votes
0
answers
25
views
How to estimate chess engine rating? Year 2023 [duplicate]
Previous questions have asked about how to get a chess engine rated. The last one I found was in 2015. It's 8 years since then.
I've started building a chess engine. What's a good way nowadays to get ...
1
vote
1
answer
50
views
Understanding UCI Output of Chess Engine - how to get best continuation
I am trying to understand and parse the UCI (Universal Chess Interface) output of a chess engine (here Stockfish 15.1). Specifically, I calling Stockfish with the following command and want to get the ...
19
votes
4
answers
5k
views
Is it possible to lose to "Worstfish"?
I just found out about Stockfish's stupid little brother, Worstfish. Worstfish calculates the worst move in every position and plays it. Because of this, is it possible to lose against it? If you give ...
3
votes
0
answers
81
views
Can previous and continuing research on N-piece tablebases be used toward human theory of chess?
This follows another questions here:
What is the status for EIGHT piece endgame tablebases?
My answer there was appropriately removed as being question in reaction to that question, well in light of ...
0
votes
0
answers
54
views
How to calculate transposition table hash index
I'm writing a chess engine in Java, and I'm having difficulty understanding how to calculate the hash address/index, based on the zobrist key.
According to the Chess Programming Wiki, since the 64-bit ...
2
votes
0
answers
105
views
Is it possible to make stockfish promote only to a queen and nothing else?
Is there a way to limit stockfish to promote pawns only to a queen? I'm using python chess library and a stockfish engine. I'm making an engine play itself and then use its moves to control the ...
0
votes
0
answers
20
views
What engine & setup can I use to analyze a Bughouse position from a single board only (one board), taking into account the pieces in hand?
I have looked at the Sjeng and the Bughousechess.wz.cz website and the answers in the other page. This is not quite a Crazyhouse equivalent analysis, due to the capture mechanics. The pages are very ...
0
votes
0
answers
40
views
How to install external engines in Lucas chess?
I downloaded several chess engines ,and tried to add them with the help of engine configuration, but Lucas wanted .exe type file. My downloaded engine files were not shown because they were in the ZIP ...
1
vote
1
answer
114
views
Today's engines changing what was considered the best plan
So when I peruse the many strategy books I have, I have found many positions where there is a clear best plan, that seems clearly much better than all other plans. The variations given by the experts,...
1
vote
1
answer
93
views
Viability of 4 player chess engines
I got into a discussion with a friend recently about the viability of 4 player chess engines. He claimed that they would be impossible to create at anywhere near the level of modern chess engines.
I'm ...
-1
votes
1
answer
101
views
In a completely lost position do chess engines attempt to bait their opponent into mistakes, or just play for the longest survival?
Essentially, do Chess Engines acknowledge that their opponents might make "flawed" moves? Or do they always assume absolutely perfect play.
More specifically, if an engine has a choice ...
0
votes
0
answers
62
views
Horrible branching rate in kiwipete position
My chess engine can generally get a branching factor 4.5 in the opening and around 7.5 during average middlegame positions. However, I recently tested my engine on the test position Kiwipete and found ...
0
votes
0
answers
88
views
How bad is Stockfish in Fog of War chess
Since in Fog of War chess you cant see all the board , I think that engines would suck at it.Have there been any attempts on playing engine tournaments under Fog of War chess?
0
votes
1
answer
94
views
Chess match between two smartphones
I have two smartphones with different CPUs, GPUs, RAM etc...
How can I put them to play a chess match each other? By using different chess engines or the same one, with choosing CPU or GPU.
For ...
2
votes
1
answer
76
views
What are the best practices for measuring search and evaluation speed?
I understand that perft is the standard tool for measuring an engine's move generation speed. However, during a perft search you don't execute your search, move ordering or evaluation functions - you ...
2
votes
1
answer
58
views
Issue with Magic Bitboards
I have a implemented a similar version to the example given on the chess programming wiki by Tord Romstad.
I just changed the random generation and stored the magics in an array. I even kept the old ...
1
vote
1
answer
89
views
How can I install chess engines in windows?
Actually, I want to install top 10 chess engines in my PC for practicing better.
2
votes
0
answers
110
views
Literature on chess engines' playing style
I'm aware of Matthew Sadler and Jozarov's outputs, do you have any other suggestions?
Any first-hand attempt of trying to describe engines' playing main themes would also be welcome.
3
votes
1
answer
110
views
Problem with tablebases
I hope this is the right forum for my question.
So, I have all 5 men files on my HDD and the two files
KRPPvKR.rtbz
KRPPvKR.rtbw
In the position here (8/2K2k2/3R3P/5P2/8/8/8/r7 w - - 0 10) everything ...
-1
votes
1
answer
107
views
Why is 11...Qg6 the best move in this line of the italian?
In the following position:
2kr3r/ppp1bppp/2nq4/1N2pb2/8/3PBN2/PPP2PPP/R2Q1RK1 b - - 4 11
The engine (Stockfish 14) suggests 11...Qg6 as the best move for black. It evaluates 11...Qg6 -3.4 compared to ...
0
votes
0
answers
64
views
What is the maximum theoretical (and practical) limit to an engines Elo? [duplicate]
If I'm not wrong, Chess #1 is at 2800 something, (Magnus) And the #1 Engine is Stockfish, with something of 3200-ish.
What I'm asking that is there any theoretical limit to the elo?
yes, I know, Elo ...
1
vote
2
answers
78
views
Search returns PV that has depth reduced by null move reduction
I was running my program on a couple test positions earlier, and I came across a problem where the PV would be shorter than the max search depth. I am now pretty sure this is due to null move ...
1
vote
3
answers
206
views
Humanlike chess engine that isn't a neural network
I am currently trying to make a chess engine that tries to make the most human moves instead of the best ones.
Now, I am aware of Maia Chess, which I believe is a neural network chess engine that ...
0
votes
1
answer
86
views
I would like to make engine play specific openings
I would like to organize an engine tournament on Arena and restrict it only to one opening. How do I do that?
1
vote
1
answer
115
views
What is the fastest way of generating a list of all attacked squares?
I have generated pseudo-legal moves, and now need to check if they are legal.
I believe the fastest way of doing this is comparing the kings position to a bitboard or list of all attacked squares, and ...
0
votes
1
answer
59
views
How are piece phase values for tapered evaluation/phase calculation calculated?
On the chessprogramming wiki site for tapered evaluation, there is the following code snippet for how engines calculate phase:
eval = ((opening * (256 - phase)) + (endgame * phase)) / 256
PawnPhase = ...
0
votes
1
answer
134
views
Setting Stockfish at 2900 strength for a match against top 1-5 GMs
Obviously stockfish 15 is well above the capabilities of any human to even draw a game, Hikaru Nakamura needed a handicap of 2 pawns from the side of Komodo only to lose 1.5-0.5 in a mini match ...
1
vote
1
answer
214
views
How can I ensure my transposition table is working correctly?
I am programming a chess engine in C#, and it uses a Negamax function with alpha/beta pruning and "killer" moves for sorting. Additionally, I have implemented a crude transposition table ...
3
votes
2
answers
329
views
Why is Leela Chess Zero rated low on CCRL leaderboards?
Lc0 routinely makes it far in the Top Chess Engine Championship (TCEC). Latest, it defeated Komodo Dragon and nearly tied Stockfish:
Yet, we see on CCRL 40/15, Lc0 is ranked #32, 159 ELO behind ...
0
votes
0
answers
78
views
Extremely slow move generation in chess engine
I am making my first chess engine in python (which is obviously not that fast). I am using the mailbox approach rather than bitboards, as switching would likely take more effort than just restarting ...
-2
votes
1
answer
143
views
Are Chess Engines Humanoid Figures?
On Youtube it shows chess engines as humanoid robots (here, for instance). Is this true, and if so do they play chess over the board according to their software? That would explain why they don't ...
2
votes
1
answer
241
views
How to implement Zobrist tables?
I am making a chess engine and trying to implement Zobrist tables into my engine. From what I've read, my understanding is that you first calculate the Zobrist hashcode, then get the modulo of the ...
0
votes
1
answer
144
views
How to run perft with Stockfish in the terminal on a macbook?
I just got a Macbook and I'm attempting to build a chess engine, so I want to run the perft function on Stockfish to compare my perft results. When I was on PC, I was able to download the engine from ...
0
votes
0
answers
68
views
Difficulty with magic bitboards
I am having some difficulty with magic bitboards, in that multiple blocker bitboards which would result in different attack boards having the same index. I realize this is likely because of one of the ...
1
vote
3
answers
147
views
Any engine that can play like Petrosian?
So, I am a big big fan of Petrosian and his Style. I tried to search for engines that can actually try to imitate it's style, instead I found Tal's engine (Opental 1.1). Can anyone help me?
0
votes
0
answers
74
views
Tools to study positions with partial information?
TL;DR Is there a chess engine or other tools to study a "position" where the exact location of certain pieces is not known?
From the following chess position, a plan could be to win the a2 ...
1
vote
1
answer
183
views
Why is this the best move?
I was just reviewing my game and was wondering why the AI would think this is the best move. All I see is giving white a free knight.
-1
votes
1
answer
67
views
Storing generated moves for a chess engine in Java [closed]
I am in the process of building a chess engine in Java using bitboards. I know C/C++ is more optimal for this but I have no knowledge of either so I'd rather attempt to do it with Java for now. I have ...
1
vote
1
answer
142
views
How to improve performance of Quiescence Search?
Thanks to information provided by a previous answer I added a quiescence search to the end of my negamax search to ensure I am not left with a piece hanging. I think it works however it takes a very ...
4
votes
1
answer
332
views
Chess Programming, Have to clear my transposition table after every move
I am developing a chess engine and have implemented various basic algorithms such as negamax search, alpha beta pruning with move ordering, and quiescence search. I have a transposition table with an ...
1
vote
1
answer
52
views
How to prevent evaluation function thinking better position after defended piece is taken?
So I’m making a chess engine and have an evaluation function that has material as (a large) part of the eval weighting. But the eval function (as if depth is 1) will think that one side is up a piece ...
4
votes
2
answers
197
views
Pros and cons of engine-assisted play for training
When I first learned chess, practice against a strong player, actively advising me, was the primary tool. They'd see how good my move was, suggest what to do, offer review it. Today, as I'm relearning,...
2
votes
1
answer
266
views
Scid Vs. PC | Using Stockfish on Linux [duplicate]
I have downloaded Stockfish 16 from their site at:
https://stockfishchess.org/
Using the command line in linux (I'm a newb), I have compiled it in the 'src' folder. After this, the exec file appears ...
-1
votes
1
answer
118
views
What are the strengths of different Chess Engines? [duplicate]
I personally use Komodo most of the time, but lots of people use stockfish. What are the differences between engines and what do they help you improve on better compared to other engines.
Tl;DR Where ...
2
votes
1
answer
149
views
How to ask an AI engine to test this chess variant?
I would like to use an AI engine to test how well the following chess variant would work: The rules are as in usual chess, except
Castling is not possible; instead, the next rule takes its place:
...
0
votes
1
answer
95
views
chess engine: alpha beta pruning starts evaluating moves incorrectly
I'm writing a simple chess engine in Go and have been running into some issues related to search. I'm currently using iterative deepening and alpha-beta search using the negamax pruning. My issue I ...
0
votes
0
answers
75
views
Why does Stockfish continue analysis and report a non-zero result for a position with insufficient material?
In the position shown in the image, Stockfish (via the lichess interface) shows a top line of 91 ... Rxe5 92. Bxe5 Kxe5 93. Kc5 Kf5. 94 Kd5 Kf4 and so on. It reports an evaluation of +0.1 for the line....
3
votes
1
answer
294
views
Differences between normal chessbase and chessbase Steam
I just recently realised that the chessbase software is available on Steam, which would seem normal to me if it wasn't almost half the price compared to the version on the official website. I have ...
19
votes
2
answers
3k
views
What is the status for EIGHT piece endgame tablebases?
An earlier question here asked in 2012 about the status of 7-piece tablebases. Today complete 7-piece tables are widely available.
So today, what is the status of 8-piece endgame tablebases?
How ...
-2
votes
1
answer
72
views
How is this game a draw? [duplicate]
I was watching some YouTube videos, and I stumbled upon this game:
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?&...