Questions tagged [engines]

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

Filter by
Sorted by
Tagged with
6
votes
3answers
2k views

Is it possible to expect different results from computer vs same computer on the same machine?

I wanted to see if a computer can beat the same computer, on the same machine. The first match is on chess.com, I played vs computer, I open two tabs, the first one is computer (white) vs me (black) ...
3
votes
2answers
219 views

New chess variant (opinion required)

I have just came up with a new chess variant. The variant works like this. So, the player starts with a match with a computer (not-so-powerful one) If the player wins the match, he gets to use the ...
3
votes
2answers
900 views

In what ways is it the best to use a computer in correspondence chess?

I have only recently started correspondence chess and I have read that engines are allowed in correspondence chess. I definitely do know that the world champions of correspondence chess have said ...
13
votes
3answers
1k views

Computer endgame strength without tablebases

I have seen that engines aren't particularly strong in the openings without access to a book. How strong are modern engines in the endgame when they are not allowed access to tablebases? E.g., can ...
2
votes
2answers
93 views

Lc0 weights file

On Windows 10 I have installed the latest versions of Arena (v3.5.1) and the Lc0 engine (v0.23.1). However I have only found one weights.pb file that it will accept. The one in the link in this Q&...
3
votes
2answers
113 views

How many games to get a good idea of computer chess board rating?

I have an old Radio Shack 1850 Electronic Chess Computer, which I would like to know the ELO rating each level plays at. The instructions just give average number of seconds per move. I figure I ...
3
votes
1answer
80 views

Minimax check(mate) detection

in my minimax function I have a first few lines looking something like this: children = board.get_all_possible_moves(board) if depth = 0 or board.is_check_mate or board.is_draw: return None, ...
7
votes
4answers
2k 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 ...
4
votes
2answers
111 views

Minimax with alpha-beta pruning for chess

I am creating a chess AI using the minimax method with alpha-beta pruning. I am trying to understand how the alpha-beta pruning works, but I can't get my head around it when it comes to chess where ...
5
votes
2answers
386 views

Stockfish 10 working on only 1 core at a time

I am a lichess user who would like to be able to use my 8C/16T processor to the best of my ability, and yet when I start up a chess engine only one of my cores is working on stockfish the rest are ...
3
votes
2answers
470 views

chess.com Analysis “Accuracy” - What score is computer like for a given rating?

I have a few questions about engine use detection at online games on chess.com: Let's say both players are rated 1800 on chess.com online play and they make n number of moves in a game. White has 90%...
5
votes
3answers
805 views

How can minimax chess engines do alpha-beta pruning without reaching the final positions?

In order to calculate far ahead, minimax chess engines must perform alpha-beta pruning, where they don't calculate positions that are obviously winning or obviously losing. Without doing pruning, ...
2
votes
1answer
118 views

Speed of minimax with alpha beta pruning in chess engines

Can a minimax function with just alpha beta pruning really evaluate 1.8 billion chess positions (3 ply = 356) in just a second? My chess engine, which uses minimax with only alpha beta pruning, takes ...
4
votes
4answers
344 views

Minimax and alpha beta

I want to implement a simple chess bot so I have been reading about this algorithm a lot. I can say I understand the basic idea of the algorithm but I can't clearly see how am I supposed to apply it ...
2
votes
1answer
79 views

What is the highest mobility score of a board without a checkmate, stalemate, or draw?

I consider the mobility score of a board to be the number of legal moves one player could make less the number of legal moves the other player could make. 8/7k/2Q2K2/8/6b1/8/8/8 w - - 0 1 Using the ...
7
votes
1answer
2k views

Returning scores for all possible moves from a chess engine

I am looking for a way to return scores for all possible moves from a chess engine (preferably, Stockfish). The UCI protocol does not seem to require it, but is seems like a useful feature to include....
7
votes
3answers
632 views

Can K + N vs K force black into any corner?

Can white force this position [Title "KN vs K"] [FEN "8/8/8/8/8/8/5k1N/7K w - - 0 1"] into this position? [Title "KN vs K"] [FEN "k7/8/1K1N4/8/8/8/8/8 w - - 0 1"] Background: ...
0
votes
2answers
107 views

What is the most effective openings to beat a 2200-2400 rated computer at chess?(With White and Black)

I have had good positions with the Hippopotamus opening with its Kings Indian structure(ranging up to +3 in evaluation) but in the end, the tactical superiority of the computer always gets in the way ...
5
votes
4answers
363 views

Kasparov said human+computer beats just computer. What does human bring to the table in such teams?

Its seems to me nowadays computers simply play better, i.e. they consistently choose better moves. Where does human factor come into play, how can a human help engine to beat another engine? Or was ...
1
vote
2answers
79 views

What is the most effective way to beat the computer at chess?

I have recently been playing a lot of games against the Computer level 9 on chess.com(not to be confused with Komodo 9). It is actually a reasonably difficult computer I would say rated definitely ...
5
votes
4answers
1k views

The end of anti-computer chess

In the old days it was possible to beat computers basically by playing slow, closed positions with weaknesses that can be exploited in the long term, beyond the calculation depth of the engine. As ...
4
votes
6answers
8k views

Tips on how to beat a computer?

What strategy should I use to win a chess game against a chess computer? The engine is able to make decisions on an about 3 moves deep search graph. Please do not say check every move in the next 4 ...
14
votes
5answers
5k views

Why have engines not increased top rated chess players' Elo?

The arrival of strong chess engines as Stockfish, Houdini or Rybka allow top players to deeply prepare lines in openings or to study better endgames. I would expect a rating increase of top players. ...
15
votes
3answers
6k views

Bad Stockfish evaluation

This is the study [fen "3B4/1r2p3/r2p1p2/bkp1P1p1/1p1P1PPp/p1P4P/PPBK4/8 w - - 0 1 "] As you can see, Stockfish gives an absolute decisive win for black, though it is clearly a draw!! Check it out ...
3
votes
1answer
2k views

List of Crazyhouse engines

I want to get a list of all (because they are certainly only a few existing) crazyhouse engines. I searched in lichess forum posts by googling "crazyhouse engine" and collected many names and links ...
5
votes
3answers
7k views

Stockfish ELO vs search depth

Could Stockfish beat Magnus Carlsen if its moves were calculated with the UCI command "go depth 16"? If not, how can I find the depth "d" at which Stockfish's strength surpasses top GMs? We assume ...
3
votes
3answers
177 views

File format/interface for home-brew engines (and implementation in lichess)

I'm a hobbyist chess programmer. I've built a few engines from scratch, had lots of fun, and am generally pretty proud of what I've made (I estimate ~1400-1500 though it's hard to tell). I was very ...
14
votes
2answers
12k views

Are the best engines better than the best humans?

I think the title asks it all. Under match conditions, would the best chess engines routinely beat the best grandmasters? If you say yes, have there been enough matches played under tournament ...
3
votes
1answer
40 views

Chessbase Nalimov tablebases

I'm using Nalimov tablebases with Fritz14 and it basically works. Just one strange problems occurs: The engine doesn't mate because the final mating move isn't sorted correctly. It look like this: +- ...
7
votes
10answers
7k views

Is a Finite State Machine a good way to model chess?

A very common model in programming is the Finite State Machine (FSM) (see here for a great worked example.) Is a FSM a good way to model chess? What are the best ways to go about it? What chess ...
2
votes
0answers
47 views

How to reduce the number of playouts on LeelaChessZero?

So after checking the wiki it seems the parameter "--playouts" allows to chose the number of playouts. But when I try it on my laptop it just fails: $ ./lc0 -w meangirl-7.pb.gz --playouts 5 v0.23....
2
votes
2answers
3k views

Why doesn't Stockfish (DroidFish) try to flag me?

Imagine the following position: [FEN "3k4/7p/7K/3B4/8/8/8/8 w - - 0 1"] White is played by Stockfish in DroidFish and black by human (me). We both have 15 seconds. After a few moves, white bishop ...
4
votes
4answers
984 views

What relative point values of pieces do engines use?

Humans use: Pawn = 1 Knight = 3 Bishop = 3 Rook = 5 Queen = 9.5 Bishop pair = +0.5 But I would like to know what relative point values do engines use (preferably strong engines, like Stockfish, ...
3
votes
1answer
200 views

Hans Berliner and computers. Did he win the world ICCF championship using computer help?

Way back when, Hans worked for IBM. I met him at an IBM data center one time, but he worked in the Federal division and just used the center for a demo. I had known him from the Washington Chess ...
3
votes
5answers
229 views

Are engine ratings directly comparable to human-level play?

Yesterday, I play a game against Stockfish 7, and it has 2200 rating points. I drew 2 games, and lost 1. The point is that if I play against a human-rated 2200 player, I would probably have a ...
6
votes
2answers
761 views

World Computer Chess Championship: Why don't they run all computers on the same hardware?

I was looking at the results of the 16th World Computer Chess Championship. You can see the hardware that the computer runs on. The reason why i'm asking this is that Mobile Chess engine is running on ...
3
votes
1answer
52 views

Are there any sources of massive transposition tables?

Do transposition databases exist the way tablebases do? Would an engine be able to take advantage of a pre-calculated TD? Is there a benefit to players when studying if they had access to pre-...
5
votes
4answers
882 views

Help with game phase identification

I'm working on a chess AI for a school project and I am looking into ways to identify the current phase of a board, meaning the opening, middlegame, and endgame. I have seen an article explaining ...
9
votes
8answers
3k views

Bishop vs Knight

I read in a book written by Fischer about piece values, and he said that a knight is worth 3 pawns, and a bishop is worth 3,25 pawns. I know that in closed positions knights are better, and I have ...
3
votes
1answer
158 views

What is the farthest away a game can be from a guaranteed checkmate?

What is the maximum number of moves away from checkmate that a player can be where checkmate is guaranteed? There are many positions that are a guaranteed win for a player if played perfectly right? (...
4
votes
3answers
178 views

Chess engine: Quiescence Search increases required time by a factor of 20

I am currently trying to implement a basic chess engine and got to the following point: I have got Alpha-Beta Pruning implemented and extended it with a transposition table. To further increase ...
2
votes
1answer
66 views

Use of transposition tables in chess engines

I hope this is the right place to post this question. So I like to implement things myself without using libraries and one of my first projects was a chess engine and I would like to improve this one. ...
5
votes
4answers
3k views

Deep Blue versus Magnus Carlsen?

I have seen a lot of debate about who is better between Carlsen and Kasparov. Could a match between Carlsen and the exact same Deep Blue configuration that beat Kasparov be used to settle this?
3
votes
1answer
72 views

Adding time to game played with chess engine

Are there any chess engines out there that will allow me to add arbitrary amounts of time to their clocks as the game progresses? I am interested in experimenting with two engines playing each other ...
14
votes
2answers
905 views

Can an Irwin Cheat Detector catch a user who is using a Leela chess bot for cheating?

I’m a big fan of chess cheat detection apps, like Irwin that was created by lichess.org. But I heard that there is a new bot called Leela that is teaching herself how to play chess, and to think in a ...
15
votes
9answers
3k views

Could a chess engine do retro analysis?

If I took a legal chess position, to what extent could an engine work out the previous moves? [in some other board games such as Othello such game reconstruction is done easily with an engine.]
6
votes
6answers
823 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?
4
votes
1answer
123 views

Minimax algorithm - Play with Black pieces?

Motivation: I am trying to make a basic AI agent that can play chess against an opponent. The goal is to see how good it can become through the use of machine learning later on and also learn the ...
3
votes
0answers
23 views

Human assisted handicapped engine against engine, adjustable parameters

I am looking for software preferably local interface on windows, to play human+engine against engine with access to search parameters such as depth and "greed" or dismissal factor (controlling ...
14
votes
4answers
3k views

How to tell that this is a draw

In an endgame I played as Black, after the rooks were exchanged, the below position was reached. A funky stalemate quickly ensued. [FEN "8/5ppk/5p1p/8/3K1P2/6P1/7P/8 b - - 0 1"] [startflipped ""] 1.....