Questions tagged [chess]
This tag is for the game of Chess and problems getting computers to play it. Use this tag for questions about algorithms and other programming problems specifically related to chess playing. Do not use this tag for general programming questions just because your program plays chess.
chess
1,448
questions
0
votes
1
answer
43
views
Illegal Argument when trying to draw
I'm trying to draw a chess piece on the board I created but keep getting an error that seems my picture can't be found.
Exception in thread "main" java.lang.IllegalArgumentException: input ==...
-1
votes
0
answers
85
views
How to explain the logic of the pairing of the 2018 FIDE World Chess Candidates Tournament? [closed]
Update-2
This is indeed a standard ‘circle’ schedule with players renumbered from 1:7 to ‘2’, ‘8’, ‘4’, ‘5’, ‘3’, ‘6’, ‘1’. Rounds 6 and 7 are swapped.
To reproduce:
# ---------------------------------...
0
votes
1
answer
35
views
How fixPGN file/game import with React app
I'm trying import a pgn file and its throwing an error, but if I rename the file to txt it works, but I prefer it like pgn instead renaming it.
// React app created with Vite: npm create vite@latest
//...
0
votes
0
answers
34
views
Chess Evaluation python
How can i get evaluation for position using python chess.engine?
I have a task: write adaptive chess bot for students using python
My idea: try to find out, how many best, excellent, good and bad ...
0
votes
0
answers
37
views
Customize board into 16x8 in chess using package chess.js or react-chessboard
I made a chess game, then I wanted to change the rules in it such as making the board bigger with a size of 16x8 and also changing the turn base system to a cooldown system
I was trying to customize ...
0
votes
0
answers
58
views
Neural Network for Chess Move Prediction Fails to Learn Appropriate Output
I'm working on a neural network to predict chess moves based on a dataset of 1,200,000 chess game positions. Despite the large dataset, my model is not learning appropriately, achieving a peak ...
1
vote
1
answer
96
views
Is there any way to speed up the prediction of a model?
We are currently building Neural Network using keras and tensorflow for evaluating chess positions. And we have encountered the problem with speed of prediction on a single sample, which is used in ...
0
votes
0
answers
66
views
New figures on the Chess-Python-Board
I want to add to my Python Chess Endgame Engine 3 new figures:Amazon, Bob and Cyryl.Amazon moves like knight and bishop,Bob as a rook and knight
and Cyryl as Queen and Knight. I have code like this.
...
2
votes
0
answers
41
views
Pygame Offset Grid by Fraction or Pixels [duplicate]
I am working on a Chess block by following a YT video, but I want my board more centered. I did that, however, now my event.get() event.pos isn't working quite right. About 15 pixels from the bottom ...
0
votes
1
answer
56
views
Cancelling a search running in a separate thread (chess engine)
I'm currently working on my chess engine in C#, Unity. My engine runs a search in a separate thread, so the Unity main thread works fine while calculating. To stop my engine from calculating too long, ...
3
votes
2
answers
162
views
Chess symbols aren't displaying in command prompt
I'm trying to make a 2-player Chess game in C that would work simply in terminal. I had a lot of problems with fonts, so I just found a good looking (most importantly - monospaced) font and just added ...
0
votes
1
answer
49
views
Stockfish returning only one move when used with Symfony Process
I have this code which returns the best move using Stockfish Engine. I provide it with a skill level for the engine and the fen string of the position and it should return the best move.
<?php
...
1
vote
0
answers
68
views
How to test and assert my chess engine's Elo using Stockfish?
I have developed a chess engine in C# and I want to estimate its Elo rating by playing it against Stockfish, a well-known and highly-rated chess engine. My goal is to set up matches between my engine ...
0
votes
1
answer
115
views
Unable to screen record my game while playing online on chess.com mobile app on Galaxy S23 Ultra [closed]
When I try to screen record my game while playing online on chess.com mobile app it does not record the screen. When I checked the recording it shows only black screen. I am using Galaxy S23 Ultra's ...
2
votes
1
answer
96
views
in c: my special free function refuses to work
A function that returns a 2D list of pointers to every possible knight movements on a grid.
Everything works except my spacial free function that crashes in random locations:
Unhandled exception at ...