Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [engines]

An engine is any machine or computer program that plays chess.

1
vote
4answers
94 views

After analyzing games with a coach should we play them again on the board?

I analyze my tournament games with my chess coach on the computer and in the end I have a pgn file which contains all the variations, mistakes, and tactics i missed. The question is am i suppose to ...
3
votes
5answers
576 views

How important is castling? How much is it worth?

Are there some statistical values for the worth of castling? Are there some numbers, for example in centipawn that can represent the value of castling?
2
votes
1answer
472 views

How are centipawns calculated?

I found on the Web some information what centipawns are. But how exactly programs calculate this loss? How can I recognize if one move will bring less centipawn loss that an another? Assuming both ...
1
vote
1answer
130 views

Stockfish: Engine suddenly changed the side?

I asked this question in stockfishchess.org support but didn't get any response. So I'm trying to get some answers from you all. My question: Please find the output of communication with the engine ...
5
votes
3answers
1k views

What's the right approach of storing moves generated using bitboards?

I am building a chess engine from scratch using bitboards and, so far I am able to generate pawns moves. But, I am stuck on what should I do after finding all possible moves for pawns. Right now the ...
0
votes
2answers
650 views

What is the native Mac Chess app's rating? Is there a good alternative?

I can't find anywhere what the rating of the Mac's native Chess app is at each level. Is there a Chess app for Mac that shows the strength bar during the game?
3
votes
2answers
2k views

How to write a chess evaluation function?

I don't know very much about chess beyond the rules but I enjoy programming and am trying to write a chess engine. I recently found this evaluation function: Simple Evaluation Function. What would be ...
1
vote
3answers
158 views

Very fast chess games-tournaments between engines?

I am wondering if there are chess games or tournaments between engines, with very small duration, like 10-5 seconds or 10-10 seconds (every game). If not, this would not be interesting? What do you ...
1
vote
3answers
162 views

Python-chess is_zeroing and is_capture operation outputs

I'm using python-chess to analyze a game. I have my code like this, and I expect 3 boolean outputs. print("is_castling: " + unicode(board.is_castling(node.move))); print("is_zeroing: " + unicode(...
3
votes
2answers
83 views

Entering and saving chess games

I used a chess pad to enter games. However, it lacks an undo feature and there is no way to correct an incorrectly entered position. What other program can do this?
4
votes
3answers
1k views

How to send uci messages from c# app to stockfish on android?

I downloaded the binary of Android Stockfish arm64-v8a and looked in the CPP source files. In main() there is all initialization, and then there is UCI::loop(), which catches standard input with ...
6
votes
3answers
610 views

Do top chess grandmasters have significant drawing chances against top engines?

the likes of stockfish and komodo are much stronger than humans. The 3300 plus ratings of these engines suggests that even the top humans would find it impossible to draw even 1 game, but is this ...
2
votes
2answers
195 views

Engine evaluation in endgame not increasing, what it means?

I have plenty of endgames that engine evaluates like +1, even +2, not changing much for like 50-100 halfmoves, repeating, playing without plan. Defending side seems to be always just in time on right ...
9
votes
2answers
1k views

What would you do in this situation?

After black moved his rook, what would you do as white? I did not find the best move according to the chess engine; I'm wondering what ideas you have. [FEN "1r2k2r/p1Q5/3p1qn1/4npp1/7p/1B6/PP1B1PPP/...
6
votes
2answers
330 views

How do chess engines manage time when they play real games?

I was just watching a video on YouTube that analysed a game in between two chess engines. So, chess engines do find good moves but how do they manage their time when they're playing a game ? Is there ...
2
votes
2answers
161 views

Fastest Way to Amass Experience

I want to amass as much Chess experience as I can, by playing several games against my phone/laptop AI.     I'm not a good player, and would estimate my ELO is <1500.     I am ...
7
votes
6answers
698 views

Why does the computer want to undermine this pawn chain at the tip instead of at its root?

I had the following position with black in a game I recently played: [FEN "r1bqkbnr/pp1n1ppp/2p1p3/2Pp4/3P4/4PN2/PP3PPP/RNBQKB1R b KQkq - 9 5"] and proceeded with 5... e5 However, after the game ...
5
votes
1answer
330 views

Three-fold repetition and null move

Added transposition table (this was tested alone and worked as expected), three fold repetition and null move pruning in my engine and wins more games but some of them end with three fold repetition ...
2
votes
1answer
56 views

How to map file and rank to a square number in TSCP?

How can I map file and rank numbers (0-7) to a square number in Tom Kerrigan's Simple Chess Program? I know how to do the conversion from square number to rank and file, but not the other way around.
2
votes
1answer
187 views

Chess GUI Java Swings code needs fixing [closed]

My Taken Pieces Panel clusters ugly with the pieces. Here's my code : class TakenPiecesPanel extends JPanel { private final JPanel northPanel; private final JPanel southPanel; private final ...
1
vote
3answers
326 views

“How are the scores decided in Chess?” - Correct?

Recent question: How are the scores decided in Chess? It has been argued that PV scores for Stockfish (the engine being used by chess.com) can be interpreted as something like: +1.0 is a pawn ...
10
votes
1answer
3k views

How do I learn Chess Programming?

Basically I have seen that people write a lot of Chess Algorithms and ask Questions in this forum which I fumble to answer appropriately . I see the Code but unable to make out whether it is correct ...
4
votes
4answers
2k views

Programming the Three-fold repetition for my chess engine

I'm making a chess engine that has to implement a three-fold repetition as my AI vs AI engine repeats the same moves over and over again (Have a look at my post here - My chess AI makes the same ...
2
votes
2answers
102 views

Analysing Positions in Databases with a program

I've got two questions. I'm wondering if: It is possible to search for certain positions in a database (like Chessbase) and display all of them in a text file. To be able to assign a score to each ...
-2
votes
3answers
849 views

My chess AI makes the same repeated moves

I've built a chess game engine using Minimax and when I play AI against the AI, everything goes fine(for sometime) until both the AI players make the same set of moves again and again. Observe the ...
2
votes
2answers
235 views

Engine output: FEN string when blundering

What is the best way to go through a database of my games and have the computer generate a FEN string as well as the next move any time I make an error greater than, say, a minor piece loss? I've ...
1
vote
1answer
172 views

program to output features in a position

is there a program available that will take a position as input and output the features in that position such as: bad knight on H3, good bishop on g2, knight outpost on E5, passed pawn on c6, etc. It ...
5
votes
4answers
494 views

White fights for equality in French classical?

Normally, using engines for any given opening I can find ways for White to maintain a slight edge into the middle game. By a "slight edge" I mean an evaluation of around +0.20 The exception to this ...
1
vote
1answer
88 views

How to add arbitrary move to analyze by chess engine in Arena

I'm using Arena 3.5.1 with Stockfish_8_x64 engine. In engine output window it proposes best moves with different continuation variants and values. Can I add few arbitrary moves there myself and ask ...
3
votes
1answer
520 views

Efficient ways to go from pseduo legal to fully legal move generation [closed]

so I've written an entire pseudo legal move generator as well as a simple gui to interface with. I also have my AI only play the best move available without going into a minimax tree. Before I begin ...
0
votes
1answer
69 views

Can it be said that draws occur less often between top-level players of equal caliber, rather than machine draws? [duplicate]

We would be considering, of course, the over the board rating of the respective machines and/or players. I'm ultimately wanting to see evidence that suggests there is an increase of draws amongst ...
1
vote
1answer
520 views

How can I add the Komodo chess engine to ChessBase 9?

I bought the Komodo 10 chess engine. Nowhere in the instructions that I could find does it explain how to add it as an engine, nor can I find any "komodo.eng" file in the Komodo directories. What ...
2
votes
4answers
8k views

Is Magnus Carlsen ever going to play against Stockfish in a event?

I was wondering if the actual champion is ever going to play against a chess engine like Kasparov and Krammik did? Or is this kind of event not going to happen anymore due to the strength of the ...
0
votes
1answer
628 views

What exactly means centipawns field in stockfish/uci output?

According to this page: cp the score from the engine's point of view in centipawns. but is it a score for the current (start) position of the game that I feed to engine, or it is a ...
-2
votes
3answers
245 views

Using multiple chess engines for chess preparation

I've been told (but I don't understand) that it's a good idea to use a number of chess engine to analyze a chess opening. It this true? Why is this a good idea?)
2
votes
4answers
2k views

To what move depth should you analyze a chess position

I'm trying to learn a chess opening and using a chess engine (stockfish8) to analyze the position but I'm wondering what move depth should I set it to (e.g., 25, 30 35 half moves).
3
votes
1answer
96 views

multi PVs using triangular array

I am currently using a triangular array to collect the PV in my chess engine (written in C). However, I would like to return several variations such as the second best, third best, and so fourth. Is ...
2
votes
1answer
2k views

Connecting Chess Engine with a Java program

I wanted to make a 1 player chess game. The idea is: The move made by the player would be displayed on the GUI. It is sent to the Chess Engine in its own specific understood form. Then the result of ...
-1
votes
1answer
1k views

How to start arena on Ubuntu linux

I would like to be able to play the Stockfish engine using the Arena GUI. I consulted the "playarena" site and the only instructions were to download and unpack the .tar.gz file. I did this but ...
7
votes
2answers
927 views

Are chess engines too briliant to play good endgame?

I watched some Komodo endgame play and what he is capable of is just horrible. From nice advantage with pawn up and activity he gives up two pawns ending in some miracle fortress position. Who can ...
5
votes
2answers
520 views

6 man syzygy tablebase and ramdisk

I have downloaded a copy of the 6 man Syzygy tablebase and configured it on my Fritz 15 GUI. Due to obvious memory constraints, the full 6 man Syzygy tablebase cannot be loaded into memory (ie. ...
0
votes
1answer
274 views

Stockfish crashing on checkmate positions, and erroneous evaluation

I asked the same question on Stockfish's forum. Black to move in the classic scholar's mate position. mate in 1. Engine produce erroneous results? position fen rnbqkbnr/pppp1ppp/8/4p3/6P1/5P2/...
8
votes
1answer
238 views

engines keep playing same game

Just finished writing customizing a chess engine by basically adding a bitboard to the freely availably tscp engine. Now I'm testing it out in winboard and notice that often the two machines will play ...
2
votes
2answers
505 views

Point assigned to move in Lucas Chess

I am a person trying to get better using lucas chess. I am using the competitive mode and starting with the easiest engine. The tutor will suggest moves from time to time and will have a number ...
3
votes
1answer
116 views

Engine against non-perfect players

Chess engines are built to find the best move with the assumption they are playing against a perfect player. My question is, is there an engine out there or would it be easy to create an engine that ...
15
votes
3answers
2k views

Alternative approaches to chess engine programming

As far as I understand, roughly speaking, chess engines work by: calculating all possible variations (game tree) up to some depth evaluating the final position based on some criteria (material, piece ...
5
votes
1answer
452 views

Improvement of chess engines over time

Chess engine strength has increased considerably over time due to increase of computer strength, but also improvement in algorithms/parameters. Is there any statistics or graph out there which shows ...
4
votes
1answer
304 views

Generate Simple Mate In 1 From Tablebases (for kids)

I was trying to find a kid's app for chess that has some incredibly simple problems. However, all the apps I found had rather tricky problems. So I thought I would download 3 piece table bases and use ...
3
votes
3answers
979 views

App that identifies moves as Excellent/Good/Mistakes/Blunders

I really like the analysis tool on chess.com that processes your games and identifies the Excellent and Good moves, as well as Mistakes and Blunders. It also proposes which move should have been ...
2
votes
2answers
165 views

Strange(?) opening by computer (beginner level)

Below is the beginning of a game I played against the 8 year old Magnus Carlsen (yes, I'm a beginner). I'm white. My opening moves are similar to that of a Spanish opening (but not quite), but I don'...