Skip to main content

Questions tagged [computer-chess]

This tag refers to chess games played by computers. If you want to ask a question about those games, use this tag. Otherwise, use the tag [engines].

Filter by
Sorted by
Tagged with
2 votes
2 answers
93 views

How many named variations are in the Encyclopedia of Chess Openings?

I know there are 5 categories and 100 codes in each category, and each one of those (except for A00) have a move sequence and name. But there are other variations that don't have their own specific ...
Jeff Lowery's user avatar
0 votes
0 answers
35 views

Viability of using Adversial Neural Networks trained against top performing chess engines to induce suboptimal moves

I'm a third year computing student considering undertaking the project, as specified in the title, for my dissertation. The goal wouldn't be to create an engine capable of beating the likes of ...
Will_S's user avatar
  • 1
12 votes
7 answers
5k views

Why not use computers to evaluate strength of players?

A computer like Stockfish can evaluate the rating performance of individual players based on a game. Why don't we take the average rating evaluation of a player's games to measure the player's ...
Unipolar Personality's user avatar
2 votes
1 answer
77 views

Why is Chess Position Trainer slow in Windows 11?

I'm running Chess Position Trainer in Windows 11 through a VM on a MacBook air with the m2 processor. The animation of the pieces is incredibly slow and the program overall is slow. Does anyone have ...
Roderick Gorby's user avatar
0 votes
1 answer
45 views

How can i see 'engine.options' values?

Using stockfish engine with python, i can use the bellow code to set an option: import chess.engine engine = chess.engine.SimpleEngine.popen_uci("/usr/bin/stockfish") # Set an option. ...
Guilherme França's user avatar
2 votes
1 answer
81 views

Tool for training opening moves

I have a PGN with the best moves against common opening traps. I'd like to train my memory and use an app/website. The idea is that computer chooses a random line on the PGN and I have to remember ...
Ignazio's user avatar
  • 147
0 votes
1 answer
113 views

Why does the Elo I gain from games fluctuate so heavily?

When I am playing on Chess.com, the amount of elo I gain or lose from each game seems to be randomized, due to the fact that I gain less and lose more elo, when playing against players with a higher ...
Jonah Hodge's user avatar
1 vote
2 answers
153 views

Changing the FEN position color

How would I write a function that would change the color to play of the given position and be consistent with? Example FEN: input:rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR w KQkq - 0 1 output:...
user38519's user avatar
2 votes
0 answers
61 views

Piece values derived computationally [duplicate]

I've read that pieces in chess have values, I think it was the book Chess in a Nutshell, from my childhood. For example, see What is the origin/history of the traditional piece values?. Has computer ...
Alex's user avatar
  • 121
1 vote
1 answer
255 views

LLMs for chess games

Many chess sites are very good in suggesting the best move, but none of them will explain why. With LLMs (Lange Language Models) becoming increasingly more powerful, are there any LLMs that can, not ...
user's user avatar
  • 219
2 votes
0 answers
64 views

optimum chess endgame with D=3 pieces doesn't give an exact moves_to_mate variable

I have just upgraded my code for computing completely optimally for both players a chess endgame as given here: https://pastebin.com/jQ090L01 but it gives to me 2 plies to checkmate White instead of ...
user2925716's user avatar
1 vote
1 answer
122 views

More accurate estimate of chess games possible

I have heard of Shannon's number (10^120) which is the supposed number of possible chess games computed in the 1950s. But Shannon's estimate is criticised for including illegal moves. What is a truer ...
anti - Marshall's user avatar
2 votes
1 answer
100 views

What's the maximum number of pieces attacking a single square?

I'm thinking about developing an optimized chess database file format. I can record a single move in 12 bits: two squares, each one with two coordinates, where each one is a number from 1 to 8. ...
Danya02's user avatar
  • 303
3 votes
0 answers
121 views

Why this Python code for a simple endgame yields wrong results?

I have a Python code as below for a trivial (for a human) endgame, but I'm unable to make it output correct results. I'm seeking for a fully optimal play by both player: the stronger player should try ...
user2925716's user avatar
0 votes
0 answers
90 views

What are the longest "golden sequences" in chess? (sacrificial middlegame attacks)

Initially, I was interested in the question "what are the longest sacrificial middlegame attacks?" ([Kasparov's Immortal] is one of the most famous sacrificial middlegame attacks). But this ...
Flowy Poosh's user avatar
0 votes
3 answers
241 views

Is the following position a fortress ? Or can White win?

White to move. Can White win? [FEN "5Q2/kp6/1p6/1P2K3/r7/1P5/8/8 w KQkq - 0 1"]
Stefano's user avatar
  • 117
0 votes
0 answers
69 views

For magic bitboards experts, find magics for bigger total bits?

Writing a legal move generator, I had an idea to use the same approach as bishop/rook attacks for pins (and discover checks). The idea is that, for a given occupancy, it returns the second set bit (if ...
zuokuok's user avatar
  • 101
2 votes
0 answers
56 views

Transposition table store/retrieval confusion

I am struggeling to get the transposition table aspect of my search algorithm right. These are the table functions: pub fn lookup(&self, hash: ZHash, depth: u32) -> Option<&...
Curunir's user avatar
  • 121
0 votes
2 answers
229 views

Transposition Table eviction policy

What do most engines use as an eviction policy for their transposition tables? I have read plenty about replacement strategies for collisions or overflow, but not as much about actively reducing table ...
EdwardK's user avatar
-1 votes
1 answer
112 views

What could explain strange performance pattern among Stockfish engine variants?

I have run computer chess tournaments among Stockfish engines, set up for various nominal strengths. The results were really strange, some are in reverse order to their supposed performance. For ...
Ch3cks Out's user avatar
0 votes
0 answers
104 views

What is the World Record for Most Pieces En Prise in a Chess Game?

Does anyone know what the world record is for most pieces en prise in a game of chess is? Edit: I mean in a game that has actually been played, not a constructed game. Edit: by en prise I mean can be ...
waltertrentkamp's user avatar
0 votes
1 answer
103 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 ...
Konstantinos's user avatar
-3 votes
1 answer
439 views

What would the Best move for Black be in Algebraic Chess Notation?

What would the best move for black be in algebraic chess notation? [Title "Black to play and win"] [fen "7k/1p4p1/p4b1p/3N3P/2p5/2rb4/PP2r3/K2R2R1 b - - 0 1"]
Leonardo Gonzalez's user avatar
1 vote
3 answers
341 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 ...
pjq42's user avatar
  • 111
0 votes
1 answer
144 views

In a blitz game , Leela zero failed to win a winning 7 pieces endgame. Why? [closed]

The following position : WHITE King on e2 Bishop on d1 Knight on d2 pawn on f3 BLACK King on d7 Rook on c4 pawn on c5 BLACK to move Is a 7 Pieces endgame indicated as a White win by Syzygy 7 Pieces ...
Stefano's user avatar
  • 117
1 vote
1 answer
198 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.
Ann-qui's user avatar
  • 19
-1 votes
1 answer
176 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 ...
soapeater's user avatar
3 votes
1 answer
100 views

Relationship between chess and communist idealogy in USSR -- Central Planning?

I had a conversation with a guy who I think was studying history and was a decent chess player and he said that in the USSR chess and dialectical materialism were considered related. The usual reason ...
releseabe's user avatar
  • 775
1 vote
2 answers
156 views

Is Stockfish reliable as far as draw conclusions is concerned?

I just stumbled across this endgame : https://www.365chess.com/game.php?back=1&gid=134885&m=24 Basically, Black has only a Queen, White has Queen and Rook. Black resigns. But here comes the ...
Hugues's user avatar
  • 111
2 votes
1 answer
677 views

Is Shredder just making a mistake or is there a strategy here?

I was playing against the online version of Shredder on the hard setting, and after this weird opening phase I went ahead with a queen trade, but weirdly Shredder didn't take my queen. Is this just a ...
Chessy McChessface's user avatar
15 votes
2 answers
6k views

Is the French defense at a 3700 Elo level "completely refuted"?

...computers will never play the French defense against each other because the French defense at a 3700 Elo level is completely refuted... IM Levy Rozman (YouTube around 3m08s) Wait, what? I watched ...
Rebecca J. Stones's user avatar
17 votes
3 answers
12k views

Where did ChatGPT get this game from?

Seeing Ding Liren playing the French, I asked ChatGPT for an example of a game he played with this opening: Can you give me an example of Ding Liren playing the French defence? ChatGPT replied: ...
Rebecca J. Stones's user avatar
3 votes
1 answer
1k views

When did this chess game against ChatGPT diverge from theory?

I have recently been tinkering on and off with ways to make ChatGPT play chess. This has worked somewhat well, even with ChatGPT3.5, using a prompt crafted to make ChatGPT re-prompt itself at every ...
Polytropos's user avatar
8 votes
5 answers
2k views

How strong is Stockfish's positional understanding without AB search?

At zero depth/search, i.e. only using its neural net, Stockfish's tactics would, of course, be abysmal, but how strong is its positional evaluation? Can it be compared to grandmasters or to club ...
Anna's user avatar
  • 216
-1 votes
1 answer
88 views

Basics in chess programming [duplicate]

I'd like to understand the basics behind chess programming. Would you please recommend any resource to start from? I have a good understanding of programming in C/C++ and Java. Thanks, Giulio
Giulio Severini's user avatar
-5 votes
1 answer
186 views

I lose more than I won? And I can't stand it [closed]

I lose like almost 1700 games in rapid and it's bad and I feel like I'm going have a hemmorage because it's pissing me off and bad I am? is it because my intellectual disability or what?
Tetrahedronx800's user avatar
2 votes
0 answers
273 views

Transposition table cut and all nodes

I have written a chess engine over the last year. Inside my search function I have the following struct transposition *e = attempt_get(pos); if (e && transposition_depth(e) >= depth &&...
spinosarus123's user avatar
1 vote
3 answers
308 views

Is there a reason to lose 1,000 chess games

I lost over a 1000 games on chess.com Is it because I make the same mistakes? Here is one recent game I played as White with 30 min for each side. [Title "tetrahedronx7 (OP)- TheCessCan"] [...
Tetrahedronx800's user avatar
0 votes
1 answer
112 views

I lost over 1000 games in chess.com rapid? [closed]

Why does this keep happening? Because I win over 800 games. I am making the same mistake?
Tetrahedronx800's user avatar
4 votes
2 answers
4k views

I have a 400 elo rating and have lost over 900 games in chess.com. Should I give up [closed]

Should I give up chess if I lose 926 games? I joined chess.com in 2022 and I have won 789 games and lost 926 games and I am at 392 elo.
Tetrahedronx800's user avatar
4 votes
1 answer
1k views

Is there a way to get blunders, mistakes and inaccuracies using Stockfish?

Stockfish provides the best moves/lines but is there a command or technique to get inaccuracies, mistakes and blunders? How is this done by lichess or chess.com? They also have the ability to show an ...
Patola's user avatar
  • 143
3 votes
3 answers
248 views

Is the decline in chess strength in a GM as they age similar to their ascension or different?

I mean, given that GMs or other strong players (I choose strong players because their peak rating vs low has "more data" than that of weaker players but it probably relates to weaker players ...
releseabe's user avatar
  • 775
2 votes
1 answer
281 views

How many centipawns guarantee winning?

Since the question in this form is somewhat ill-defined, I elaborate on it so it can be solved by experiment: What is the maximum centipawn value you can come up with so that the weaker side holds a ...
Hauke Reddmann's user avatar
7 votes
3 answers
1k views

What unusual engines do we have?

Almost all current engines are similar and built for the same tasks (stockfish, lc0, slowchess, comodo...). And I only heard about a few unusual engines Crystal: based on Stockfish but used for ...
ASTA's user avatar
  • 153
-4 votes
1 answer
110 views

What is the DTM in the following tablebase position?

[Title "Black to move"] [fen "8/8/6k1/8/1N3R2/1P6/K1P5/4q3 b - - 0 1"] or WHITE King on a2 Rook on f4 Knight on b4 pawns on b3 c2.BLACK King on g6 Queen on e1 BLACK to move. I ...
user33339's user avatar
-2 votes
1 answer
122 views

A complex position with only eight pieces on the board ( computer chess )

[fen "8/6pk/N7/8/8/4rN1P/6PK/8 b - - 1 1"] with Black to move or WHITE King on h2 Knights on a6 f3 pawns on g2 h3 BLACK King on h7 Rook on e3 pawn on g7 with BLACK to move. Is this eight ...
user33335's user avatar
5 votes
3 answers
1k views

Are cyborg (human+computer) players really better than the best chess engines?

I saw this rating score chart recently: Is it true that cyborg chess players are (that much) better than the best chess programs by themselves?
2080's user avatar
  • 936
9 votes
2 answers
2k views

What Elo rating does The Chessmaster 2000 have?

A recent agadmator video pitted The Chessmaster (NES) against Stockfish 14 NNUE. What is more impressive to me is that this chess engine, released originally in 1986 and written by David Kittinger in ...
qwr's user avatar
  • 4,079
1 vote
1 answer
2k views

How do I implement UCI in my Python chess engine?

I have developed a chess engine in Python with negamax, alpha beta and piece square table. I want to "compile" my code into a UCI compatible one so I can load it to Arena GUI, but I have no ...
Felipe L's user avatar
5 votes
0 answers
190 views

Stack data structure to store chess positions?

One method I thought of for storing chess positions is a stack. This is because when you go one move deeper in the search, you add that position onto the stack, and delete the node when finish, this ...
BanjoMan's user avatar
  • 160