Skip to main content
The 2024 Developer Survey results are live! See the results

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
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 ==...
Anthony McKinney's user avatar
-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: # ---------------------------------...
clp's user avatar
  • 1,460
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 //...
Lars Kuerten's user avatar
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 ...
vladimirOmSu's user avatar
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 ...
Alan Ari's user avatar
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 ...
randomUser's user avatar
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 ...
Jan Hrdina's user avatar
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. ...
user22758952's user avatar
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 ...
Nathan Kamprath's user avatar
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, ...
E_ple's user avatar
  • 35
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 ...
VasyaDryashkaba's user avatar
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 ...
danilovict2's user avatar
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 ...
Vũ Hoàng's user avatar
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 ...
Puneet Pant's user avatar
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 ...
yuval gabay's user avatar

15 30 50 per page
1
2 3 4 5
97