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
1 answer
42 views

Tool for storing multiple engines analysis of chess positions databse

I am looking for a tool that can store engine analysis of a chess positions database. It should be able to store multiple lines of analysis with complete info like depth, tablebase hits, score, etc.; ...
2 votes
0 answers
34 views

Border pieces in Magic Bitboards

I've been trying to understand magic bitboards, but everywhere I've read failed to explain how edge pieces are handled. The pieces at the borders are ignored to save space. So for a bishop at D3, the ...
2 votes
2 answers
554 views

Can't properly use python stockfish package in Mac

I'm trying to get stockfish for python working but I am running into issues. This is my code so far. from stockfish import Stockfish stockfish = Stockfish('/Users/Me/opt/anaconda3/lib/python3.9/site-...
14 votes
2 answers
655 views

Has AI changed opening theory, and if so, how?

Pre-AI, it's hard to imagine that opening moves had changed much. Following the birth of computer engines, has AI changed opening theory, and if so, how?
6 votes
3 answers
2k views

How do I set up an engine never to resign in Arena GUI?

Is there a way to set up the engine in a way it never resignes? I want to practice mating with bishop and knight but after the engine reaches the depth it can tell it will be checkmated it resigns. I ...
5 votes
1 answer
139 views

Human assisted handicapped engine against engine, adjustable parameters

I am looking for software preferably local interface on windows, to play human+engine against engine with access to search parameters such as depth and "greed" or dismissal factor (...
4 votes
1 answer
174 views

Which GM said something along the lines of "I can beat any chess engine; just give me time enough (to prevent blunders)"

So I guess I read this long time ago -most probably in the 2000s, when engines started to beat humans. I just have no idea who said it, but I guess it was not a top player at that moment (say Kasparov ...
2 votes
1 answer
225 views

How to find 'Thermopylaes' with engines?

Motivation “You must take your opponent into a deep dark forest where 2+2=5, and the path leading out is only wide enough for one." – Michail Tal I am looking for ways to systematically find ...
1 vote
0 answers
64 views

Scid vs. PC: a hint needed

I have now installed Scid vs. PC and I have made my first move with White to e4. Now the engine computes the position tree. How can I stop it and make it move with black after some fixed time ? It ...
5 votes
3 answers
1k views

Is testing an opening by having a computer play against itself viable?

Recently, I got into a brief argument with a colleague when I mentioned that I wanted to use an engine playing against itself to generate a larger sample size for a rare sideline. His argument was ...
6 votes
0 answers
107 views

How do you set up two engines to play each other on a cloud server?

I am exploring a semi-novel idea in the London system, where I play 2...b5!? after 1. d4 Nf6 2. Bf4 A main line goes 3.Nf3 Bb7 4.e3 and now: 4...a6 5.Bd3 e6 or Nh5 4...a6 5.c4 bxc4/b4 4...b4 5.Bd3 e6/...
1 vote
1 answer
87 views

Is it worth it to use a redundant mailbox representation in addition to bitboards?

Just like the title says. A mailbox would allow for better handling of checking "which piece is at a certain square," and I see no real downsides to it besides the need to synchronize it ...
5 votes
3 answers
194 views

Why does f3 weaken white's position here?

Take this game: [fen ""] [Startply "13"] 1. d4 d5 2. Bf4 Nc6 3. Nf3 Bf5 4. e3 Nb4 5. Nh4?? Bxc2 6. Qd2 e5 7. Bg3 Be4 (7... Bxb1 8. Rxb1) 8. f3 Bxb1 9. Rxb1 I'm specifically ...
6 votes
1 answer
255 views

Why isn't legal move filtering done at search time?

Most engines have some method of filtering out pseudo-legal moves from the actual legal ones. However, is there any reason not to keep them? With bit-boards, you can quickly filter out the ones that ...
0 votes
5 answers
14k views

Is it possible for any titled player to beat a chess engine?

This topic has been discussed before but I want to reopen this thread because of Stockfish vs Nakamura. I watched the series live on chess.com a few days ago In Game 2, I was hoping to see if ...
4 votes
1 answer
228 views

How do you nerf Stockfish to analyze the same position multiple times?

I want to make some statistics by analyzing the same position, multiple times, at different levels of Stockfish. Precisely, I would like Stockfish to analyze a specific position at different "...
4 votes
1 answer
87 views

How do Chess Bitboards generate individual moves?

If I have a pawn bitboard like this, for example, 00000000 00000000 00000000 00000000 00001000 00000001 11110110 00000000 generating all of the, say, legal capture moves to the right will perform a ...
11 votes
4 answers
3k views

What does it mean when stockfish evaluates a move as an inaccuracy after previously thinking it was the best move?

I stumbled onto this position from a game posted on reddit. Stockfish gives the best move as cxd4, which it evaluates as +2. If you play cxd4, it then says cxd4 was an inaccuracy (only being +1), and ...
-2 votes
1 answer
55 views

If you play an engine in Arena, how do you send it setoption commands?

I really want to play two engines against each other, one with a tablebase path and one without, but I assume this is just a special case of the question in the title.
-2 votes
1 answer
163 views

Why does Stockfish miss mate in 5 with only two legal moves?

I'm interested to understand what is going on for Stockfish on Lichess here. There are only two legal moves for Black, and it gives the position mate-in-14 for white. When asked to play its ...
17 votes
13 answers
6k views

Is there a single best move in every position?

If it were possible to analyse every possible outcome of a position, would there ever be a single move that could be considered "best"? I know that this is how computers evaluate positions, but they ...
11 votes
3 answers
1k views

Why are world-class engines playing like this?

I was reading about the Lc0 engine and its evolution. Then took a glimpse at the games between Lc0 and the notorious Stockfish. I am not a professional or anything remotely close, but this particular ...
3 votes
0 answers
207 views

Are engines impaired by the 50-move rule?

Are we missing too much from the 50-move rule implementation to engines, whether HCE (Hand-crafted evaluation) or/and NN (Neural Network)? We know that certain endgames are a win without the rule. ...
2 votes
1 answer
91 views

Testing Mate Possibility Without Use of King

I would like to be able to convince myself of the possibility (or lack thereof) of mate using various piece combinations in which the attacker doesn't use their own king. I'd like to approach this by ...
1 vote
2 answers
124 views

Help with evaluating this position

rn2k2r/ppp2p2/4bn1p/2bp4/8/1B3N1P/PPP2PP1/RNB1R1K1 w Qkq - 0 1 I am having trouble evaluating this position, I believe the activity of the pieces is equal, besides the week h6 pawn I cannot see why ...
11 votes
8 answers
7k views

Bishop vs Knight

I read in a book written by Fischer about piece values, and he said that a knight is worth 3 pawns, and a bishop is worth 3,25 pawns. I know that in closed positions knights are better, and I have ...
2 votes
0 answers
51 views

Issue with connecting engine to lichess bot (uci communication)

My engine is responding correctly to the first inputs from the GUI (as above), but when it receives go movetime 10000 it just crashes and I don't know why. When I test my engine manually in CMD I get ...
5 votes
2 answers
501 views

The ultimate decision of the eternal bishop vs knight question

The following is...disturbing. [FEN "bbbbkbbb/bbbbbbbb/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"] Black is about 15*3-38, say 10 units up (as Black will also grab a pawn and exchange on b2 or ...
1 vote
1 answer
222 views

Why is my chess engine that uses minimax with alpha-beta pruning so slow, even at depth 3?

I have little experience with any sort of chess AI and am at a complete loss as to why it still takes a couple of seconds to calculate a decent move even at just depth 3. Here is the code: private ...
5 votes
0 answers
100 views

Why do these convergent lines evaluate differently?

I recently analyzed alternative lines for this puzzle on chess.com. [Event "French Championship"] [Site "Val d'Isere FRA"] [Date "2002.08.23"] [Round "5"] [...
1 vote
1 answer
124 views

Lichess Cloud Evaluation Flaw?

In the following position that's in the Traxler Counterattack: https://lichess.org/analysis/r1b1k2N/ppp1q1pp/5n2/3Pp3/2Bn4/8/PPPP1bPP/RNBQ1K1R_w_q_-_1_9 [fen "r1b1k2N/ppp1q1pp/5n2/3Pp3/2Bn4/8/...
8 votes
5 answers
2k views

What relative point values of pieces do engines use?

Humans use: Pawn = 1 Knight = 3 Bishop = 3 Rook = 5 Queen = 9.5 Bishop pair = +0.5 But I would like to know what relative point values do engines use (preferably strong engines, like Stockfish, ...
3 votes
2 answers
188 views

Do engines have a larger advantage over a human at long or short time controls?

Question: Title question, basically: do engines have a larger advantage over a human at long or short time controls? Have any studies been done on this? Context for the question: On a reddit thread ...
-1 votes
3 answers
148 views

Hamppe-Meitner, the final verdict?

[FEN ""] 1.e4 e5 2.Nc3 Bc5 3.Na4 Bxf2+ For those of you who never heard of Hamppe-Meitner. Now I dimly remember that a super engine somewhere found a White win, but even the bringer of the ...
5 votes
2 answers
124 views

Do modern chess engines learn material values through self-play?

I have a simple question about how Chess engines like Stockfish and Leela value material. Do they use traditional material values (i.e. 1 for pawn, 3 for knight/bishop, 5 for rook, 9 for queen), or do ...
5 votes
2 answers
3k views

Setting up a game between two computers

I was hoping that this would be a simple exercise but I have spent the last two days looking into this and can not find an answer (easy or otherwise). What I want to do is have my iMac play my Ubuntu ...
1 vote
1 answer
163 views

Optimising Stockfish parameters when batch-analyzing with python-chess

I am running a python script that analyzes a large batch of PGN games (each of ~5,000 games) across and exports the games evaluations. It calls Stockfish 14 to analyze each game at depth 20. **[EDIT: ...
1 vote
1 answer
174 views

What's the strongest non-ML chess engine?

What's the current strongest Chess Engine built solely on heuristics, no neural networks or any kind of deep learning?
12 votes
4 answers
2k views

Looking for free versions of older chess engines

In connection with another project, I am looking on the internet for some free versions of older chess engines, such as some of the old Chessmaster engines from the 1990s. I would even take an old ...
4 votes
2 answers
478 views

Engine's 2nd best move

Especially for checking studies (maybe also for teaching), it would be helpful to have an engine finding the second best move and assess it (or even give refutations of all alternatives). For a ...
2 votes
2 answers
107 views

Python Efficient Board Scoring Function To Use As Placeholder

I'm building a chess engine in Python. I'd like to find a board evaluation function that would be easy to put into my engine as a placeholder while I work on other aspects of the engine first. I would ...
11 votes
3 answers
6k views

Where can you play against AlphaZero?

I have read a few articles about the game between Stockfish and AlphaZero. But is there a place where anyone can play against AlphaZero?
5 votes
2 answers
364 views

Examples where top engines in a tournament match don't agree in evaluation

I'd like to know about computer games of some recent tournaments where two top engines diverge in evaluation of a position, in the sense that both think are winning the game (or both losing). I saw ...
0 votes
1 answer
104 views

Is it possible to manually input a command to Arena Chess GUI?

I want to manually input a single UCI command into my modded version of Stockfish to access my added functionality(a chat feature) and the incredibly useful eval command and then get the output. I'm ...
3 votes
1 answer
173 views

Using pgn-extract to output FEN + evaluation

I'm using pgn-extract to convert a PGN database into FEN + evaluations. My goal is something like this: 1. e4 e6 2. d4 b6 3. a3 Bb7 Into this: rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 ...
1 vote
4 answers
156 views

For fixed-depth search, how much is the efficiency different between odd and even moves?

If a chess engine calculates in even depth, in the final position, it has to move again, whereas if it calculates at the odd depth, then the opponent has to move at the end of calculation (ignoring ...
5 votes
1 answer
103 views

Clarifications on the number of nodes explored per seconds

I am trying to understand exactly what is meant when a chess engine is reporting a number of explored nodes per second. For example, on a single thread, Stockfish is reporting about 1.5 million nodes ...
2 votes
1 answer
223 views

What does "hashfull 1000" mean in Stockfish?

When I use Stockfish, the "hashfull" value climbs up to 1000 and then stays there. I was wondering what this means. The documentation says : * hashfull <x> the hash is x permill full, ...
1 vote
1 answer
167 views

Average number of moves until checkmate for two players of unequal strenth

Suppose a game is played, until checkmate, between players of unequal strength, say 1800 vs 2800. What would be the average number of moves be for, say, 1000 games? I also ponder 2000 vs 2800 and 2200 ...
3 votes
1 answer
460 views

What is the best chess engine for 1 CPU?

We have now GPUs, Quad-cores, i7s, i5s, i3s, and so on. However, I am wondering what is the best chess engine for 1 CPU. ChessBase offers Fritz 11 for free. Fritz 11 works very well with 1 CPU. Also, ...

1
2 3 4 5
18