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
3 answers
160 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 ...
3 votes
2 answers
263 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 vote
1 answer
541 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
269 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?
5 votes
2 answers
187 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 ...
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 ...
2 votes
2 answers
229 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 ...
3 votes
1 answer
524 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 ...
  • 98
11 votes
5 answers
2k views

Approximating a rating for too strong engines

Suppose we have an extremely strong engine that happens to win every game it participates in even against the most powerful engines and players. If it continues to win every game, its rating (for ...
  • 221
1 vote
4 answers
288 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 ...
  • 182
1 vote
1 answer
213 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 ...
11 votes
5 answers
2k views

Evaluation bar cheating - how much does it really give, and how can it be detected?

To start off - due to my anxiety, I do not play any form of chess against other people (except some friends of mine, but that obviously doesn't matter for the context of this post). I recently got ...
  • 69
2 votes
1 answer
479 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, ...
  • 183
3 votes
1 answer
825 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,014
5 votes
1 answer
158 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 ...
  • 53
13 votes
3 answers
13k 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?
  • 863
20 votes
3 answers
4k views

Is it more helpful to play with a titled player than to play with a chess engine?

I can choose to hire a titled player to play with me; at the same time, playing with the computer is usually free and more flexible. As far as improving one's chess skill is concerned, is there more ...
  • 8,311
-3 votes
2 answers
196 views

What do you think will happen when chess gets solved? [closed]

When some ultra strong computer discovers the perfect game of chess, will chess as a game die?
  • 9
4 votes
1 answer
221 views

How to compare Stockfish move preference every 1000 nodes

I would like to test how Stockfish or other Engines change their moves and evaluations as the number of nodes increases. Is there a way to run Stockfish (or another engine) and force it to output its ...
3 votes
6 answers
15k views

Why don’t chess engines use Node.js?

I agree that this might look like a question that Google has the answer to, but I could not find the answer. C++ is a language that many chess engines are built on, like Stockfish and Leela Chess Zero,...
  • 863
2 votes
1 answer
395 views

Chess engine in python

Are there any open-source chess engines that are written in primarily or fully in python? For example, Stockfish is written in primarily C++.
  • 863
6 votes
2 answers
1k views

Why is this position a forced mate?

I was playing a game against one of the chess.com bots, as shown below (I was playing as white). On analysing the game afterwards, I'm aware I made a lot of mistakes, but the one I'm really confused ...
  • 185
5 votes
2 answers
176 views

How to evaluate whether a position will result in a draw vs a decisive outcome?

Suppose 2 positions both have 'equal' evaluations according to the engine, but the first position has strong, easy-to-spot moves which lead to a drawn endgame, whereas the second game is extremely ...
  • 2,077
-2 votes
1 answer
196 views

"Strong ICCF players" What is your input into the game? [duplicate]

This question is directed to the experienced ICCF players. My question is basically what is the input that the human player has into the game. I was just wondering because with the use opening books, ...
  • 2,158
6 votes
0 answers
103 views

What is the human influence in modern correspondence chess? [duplicate]

On most websites, such as chess.com and lichess.org, computers aren't allowed, but when playing under ICCF rules engines are allowed. With the increase in strength of engines especially from the ...
  • 2,158
6 votes
2 answers
624 views

Why don't engines show explicitly that a certain move takes to a threefold repetition (instead of just showing 0.00)?

I get that from the point of view of the engine there's no difference; equal is equal. But for a human analyzing with an engine, I find quite important to note that a move takes to a balanced position ...
  • 2,080
4 votes
2 answers
693 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
1 answer
411 views

Bitboard chess engine design

What are the best approaches to designing a chess engine? What classes/structures should it have? How are they connected to each other? I'm building a chess engine but I often find myself overwhelmed. ...
  • 103
7 votes
3 answers
729 views

What do chess engine evaluation scores (+1.3, -3.2) really mean?

I know that chess engine evaluations like +1.3 intuitively mean that White is evaluated to have an advantage equivalent to 1.3 pawns of material, or that -3.2 means that Black is evaluated to have an ...
  • 261
19 votes
5 answers
6k views

Making my own chess engine for a college project

I'm starting my college project to build my own chess engine. The problem is that I have no clue where to start or what to read. I found videos on YouTube but I don't want to be a copycat. I want to ...
4 votes
1 answer
349 views

Move generation for sliding pieces and Hyperbola Quintessence

I'm working on a bitboard-based chess engine at the moment and I have managed to generate pseudo-legal moves for knights, kings and pawns. However, I'm still trying to wrap my head around sliding ...
  • 103
0 votes
1 answer
126 views

Search function for chess engines

I'm creating a bitboard based chess engine in c++ and I'm trying to write the search function. It currently looks something like this double search(Position& pos, int depth, double alpha, double ...
1 vote
1 answer
200 views

Evaluation function in a bitboard based chess engine

How do you go about writing an evaluation function for a bitboard bases chess engine? I want to start of simple and only evaluate based on piece value, and where the pieces stand. For example a knight ...
2 votes
1 answer
413 views

What is the longest known 7-piece checkmate?

What is the longest known 7-piece checkmate?
0 votes
1 answer
220 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 ...
2 votes
0 answers
162 views

Understanding Null move pruning

I have trouble understanding null move pruning. I understand the concept of a free move for the side that just played a move, but what I don't understand is the code part: int score = -negamax(-beta,-...
1 vote
0 answers
147 views

Is this a possibly faster way to find pinned pieces using magic hash?

Okay so this is something that I came up with while working on my own engine, but I am not sure if anyone has ever tried. Basically I am using a separate set of magic hashed longs to store pieces and ...
5 votes
1 answer
1k views

Is there a resource for chess puzzles that are altered just enough to discourage easy engine use to solve?

I'm hosting a chess night and would like to post a few wallchart puzzles but would like to discourage folks from secretly whipping out their phone's chess app/engine and scoring points unfairly. For ...
  • 3,333
1 vote
0 answers
217 views

Clear Stockfish hash table after every move conveniently

When analyzing a game with Stockfish I sometimes find it confusing that evaluation of a given position changes depending on what positions I had analyzed previously. I understand that this is because ...
  • 667
1 vote
3 answers
579 views

How good is 1. e4 c5 move for black? Why does Stockfish play it?

I've been running some engine vs engine games out of boredom and noticed Stockfish, when playing as black, 90% of the time played c7-c5 on white's e4. I've never actually seen a human play this, in ...
8 votes
1 answer
190 views

Reanalyzing old chess books

Computers were demolishing analyses way before they became God (see e.g. here), but latest at ELO 3000 or so it became humiliating. Do you know instances of chess books explicitly rewritten years ...
1 vote
0 answers
216 views

Why is futility pruning causing an Elo drop in my engine?

I'm getting weird results when introducing futility pruning into Blunder. On the one hand, I'm getting a pretty sizeable reduction in nodes, and I'm searching a full ply deeper for some positions (e.g....
24 votes
3 answers
9k views

Why does chess.com consider this promotion a blunder?

I've just played a game on Chess.com, and I'm surprised that the engine considers a promotion that I made a huge blunder. Like, my position was rated -62.8 (basically a won game), and after I promoted ...
4 votes
1 answer
232 views

Computer repeating moves?

Where I observed it [FEN "3k3r/pp1n2R1/2p1bp1p/6p1/2PP1p2/1PBB3P/P4KP1/8 w KQkq - 0 1"] 1.d5 cxd5 2.cxd5 Bxd5 3.Bf5 Nb6 4.Bxf6+ Ke8 5.Bg6+ Kf8 6.Re7 Bc6 7.Rf7+ Kg8 I was using Stockfish/...
2 votes
1 answer
256 views

is The following position a win or a draw?

In an engine match Leela zero vs Komodo 14 Dragon at hyper-long time 6 hours each engine) in an Alekhine Defense game, Modern variation, the following rook endgame appeared on the board. [FEN "...
  • 265
-1 votes
1 answer
146 views

Most difficult puzzles for chess engines [duplicate]

I know this type of question has been asked a few times but each of the puzzles in the answers are solved by engines. For example Plaskett’s puzzle and other common ones such as Mitrofanov deflection ...
5 votes
2 answers
433 views

Techniques used for Stockfish engine selectivity

Example puzzle (I'm sure there are numerous that fit this bill): [FEN "rnbq3r/pppp4/3b1pkp/5p2/2BP4/4P3/PPP2PPP/RN1QK2R w KQ - 0 1"] [Site "Earth"] [White ""] 1. Qh5+ ...
  • 171
1 vote
1 answer
1k views

How do you make NNUE neural network for the newest Stockfish chess engine?

How can I make, for example, Stockfish 13 or 14 with a NNUE neural network? What is the precise procedure for making a NNUE neural network for some chess engine? I noticed that lichess.org uses ...
  • 27
3 votes
1 answer
153 views

Is there a way to classify a chess position using algorithms and data science?

Given a position, is there a way we can classify a it, such as if whether there is a pin, fork, or trap, or a mate a mate in 2 or 3? If it is possible, what would be a better approach, an algorithmic ...
1 vote
1 answer
131 views

Python-chess : How to make infinite analysis in multiPV mode?

I need to run infinite analysis in multiPV mode. How to do it right? My code doesn't work. original_fen = "7k/1b1r1pp1/3Bp1np/1p2P1q1/8/1PQB2P1/2R2P1P/6K1 b - - 3 23" original_board = chess....
  • 11

1 2
3
4 5
20