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].

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
51 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
36 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
61 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
  • 139
0 votes
1 answer
87 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
113 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
57 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
131 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
112 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
83 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
  • 293
3 votes
0 answers
100 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
89 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
232 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
  • 17
0 votes
0 answers
59 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

15 30 50 per page
1
2 3 4 5
14