Questions tagged [engines]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
130 views

Is there a measure of how likely it is that a position will end in a draw? [closed]

I was asked to rephrase this question. Hope at least someone gets what I'm trying to mean here now. A position can be equal but asymmetrical. If it is very sharp and complicated then at least humans ...
1
vote
1answer
504 views

Game with computers choosing the worst possible moves [duplicate]

Since chess engines in one way or an other rank alternative moves, it should be able to search for the worst move as well as the best. Have engines played each others trying to lose, and what has come ...
-1
votes
1answer
500 views

Difference in chess engine strength for ''high end 64 bit multicore PCs'' vs. ''low end multicore 64 bit PCs''

I use Arena for tournaments between chess engines. The interesting thing is that in different 64 bit multi processor computers ranking is slightly different. I was expecting that they should be the ...
2
votes
1answer
133 views

Can one simulate a top GM strength?

I would like to know roughly if a top GM could win a given position against a top engine. Is there a way of adjusting an engine's settings to simulate the strength of a top GM in order to make it ...
6
votes
2answers
1k views

What happens if a strong chess engine plays with itself many times?

If a strong engine (eg. Stockfish) plays with itself many times (say, 100 times), what will be the outcomes in terms of the following: What will be the proportion of draws? Will there be wins/losses? ...
4
votes
1answer
174 views

Backwards Chess Program

Is there a chess program where you can create a position and the program creates a game, expecting the best possible moves to get there, or the most common? A problem I would see is some positions ...
4
votes
2answers
949 views

How to generate hash keys for chess positions

Is there a standardized method for generation of hash keys for chess positions. I want to implement hash key generation in my program, so wanted to know the best way to do it. It would be great if ...
2
votes
1answer
399 views

Stockfish to find all mates-in-n

how to make Stockfish to find all mates-in-2 or mates-in-3 from a given position? I know I need to use Scid but not much beyond that. Please help.
3
votes
2answers
355 views

How to write a simple chess engine to statically evaluate a position?

I want to evaluate positions statically. So I've written a code which evaluates from a FEN string. However it is a tedious to copy FEN and then paste for a complete game. So I wanted to know if it ...
1
vote
1answer
97 views

Getting started in position-counting by computer

I have quite a bit of programming background, and even game programming background, but have never looked at a real chess engine before. I recently stumbled on this puzzle-question, which asks for ...
5
votes
3answers
2k views

Import and export of PGN

How do I perform the following related things? Export/import PGN of games from Droidfish. Import my games to Chess.com I found an option to export my games from Chess.com (Share PGN) but I couldn'...
1
vote
1answer
653 views

Why doesn't my transposition table improve my move calculation time?

I have an alpha-beta pruning chess AI that I have implemented using chessjs and chessboardjs. Below is my AI algorithm - it includes move ordering on the first two depths, using the boardScore value ...
2
votes
2answers
550 views

Alpha-Beta Pruning returns mate in two instead of obvious mate in one

I have an alpha-beta pruning chess AI that I have implemented using chessjs and chessboardjs. A friend of mine was playtesting it and came across the following position: 7r/ppp1k1rp/8/8/7K/4qb2/8/8 b ...
1
vote
2answers
170 views

Why is better for white to move Rxa7 instead of Nxd3?

I am trying to analyze the below middle game puzzle. Its white's turn to move. As white, I played Nxd3 and killed the black Queen. However, the engine felt a better move for white was Rxa7. If I ...
4
votes
4answers
830 views

How to use engines to improve my game (weak amateur, not a top player)

Once, I played a game against an amateur player, who played really well. When I asked him where he'd learnt to play that well, he merely said that he had used Stockfish to reach that level and had had ...
2
votes
3answers
294 views

Engine with emphasis on strategic/positional analysis

Are there engines are especially recommended for strategic/positional analysis? I'm especially looking to use the engine in complex, opening position.
17
votes
5answers
1k views

How did the engines improve since Deep Blue?

Computer chess engines have gotten better since Deep Blue beat Kasparov in 1997. Did the algorithms get better, or were the improvements mostly due to the same algorithms running faster thanks to ...
1
vote
2answers
71 views

Time/PLY to let engine run for opening analysis

For critical positions in your opening repertoire: How many PLY do you recommend to let the engine run on a single move (referring to a roughly equal position, about +0.15-0.2) How much time does ...
1
vote
1answer
72 views

Possible chess positon after X ply?

I've started to code my own little engine recently and am now working on a perft function which simply sees how many moves there are. Trying to get correct results I searched online for the correct ...
2
votes
4answers
636 views

Game Analysis Software

What I need Is there any software/engine/website (preferably free) that can analyze a given game (or PGN) of mine and tell me: Whether my moves were excellent, good, bad or terrible. Possible ...
14
votes
2answers
3k views

Why can a chess move improve the chance of winning, according to the computer?

When watching the Sinquefield cup on http://grandchesstour.org/, it is possible to try different moves, and see how the computer evaluates the standing after your suggested move. Now, most moves ...
1
vote
1answer
656 views

What is the problem with my negamax implementation?

I am currently attempting to make a basic chess engine in Python (Learning some basic concepts), but for some reason the engine is suicidal and does not detect the scholars mate. I am using python-...
1
vote
4answers
96 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 ...
6
votes
6answers
818 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
602 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
191 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
2k 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
946 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
179 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
199 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
111 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?
3
votes
3answers
2k 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 ...
5
votes
3answers
722 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
225 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 ...
8
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/...
5
votes
2answers
504 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
166 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 ...
6
votes
6answers
705 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 ...
6
votes
1answer
409 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
62 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
235 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
434 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 ...
13
votes
2answers
4k 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 ...
3
votes
4answers
2k views

Programming 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
132 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 ...
-1
votes
3answers
1k 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
333 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
215 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 ...
4
votes
4answers
538 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 ...