Questions tagged [chess-ai]

Questions related to computer chess that involve artificial intelligence (e.g. machine learning).

Filter by
Sorted by
Tagged with
3 votes
1 answer

A different hashing algorithm for chess positions

This is not a question, it is a curious discovery I wanted to share The most common hashing algorithm in chess programming is, I believe, Zobrist hashing. However, I may have found a different way of ...
Grande Dorgas's user avatar
1 vote
0 answers

Searching games by chess positions

I have a somewhat weird question that is only indirectly related to chess. I am trying to solve a chess-related puzzle in which I have to find games played by Soviet chess players based on positions. ...
Vosoni's user avatar
  • 11
1 vote
1 answer

What is the fastest way of generating a list of all attacked squares?

I have generated pseudo-legal moves, and now need to check if they are legal. I believe the fastest way of doing this is comparing the kings position to a bitboard or list of all attacked squares, and ...
bbqribs's user avatar
  • 13
1 vote
1 answer

Help with Negamax using transposition table

I've recently been improving my Negamax algorithm for chess, adding a transposition table. The algorithm was working well before this addition. After this addition I can't see no big improvements in ...
SKAE's user avatar
  • 11
2 votes
1 answer

How to ask an AI engine to test this chess variant?

I would like to use an AI engine to test how well the following chess variant would work: The rules are as in usual chess, except Castling is not possible; instead, the next rule takes its place: ...
Gaussler's user avatar
  • 279
1 vote
2 answers

Does a reinforcement learning style model actually need to be combined with a search algo to produce the best moves?

I have recently been studying up on Machine Learning based chess engines and have begun to develop one of my own. I was wondering, realistically, doesn't the board technically contain all of the data ...
OldAmmo's user avatar
  • 19
6 votes
2 answers

How to program Ruthlessly Aggressive Chess AI?

For the past few months, I have been experimenting with Stockfish with the goal of making the AI more fun to play against. Stockfish is obviously a very powerful Chess AI but it plays very ...
TinyCamera's user avatar
4 votes
1 answer

How to compare Stockfish move preference every 1000 nodes

I would like to test how Stockfish or other Engines change their moves and evaluations as the number of nodes increases. Is there a way to run Stockfish (or another engine) and force it to output its ...
Bas van Opheusden's user avatar
4 votes
6 answers

Why don’t chess engines use Node.js?

I agree that this might look like a question that Google has the answer to, but I could not find the answer. C++ is a language that many chess engines are built on, like Stockfish and Leela Chess Zero,...
Varun W.'s user avatar
  • 873
2 votes
1 answer

Has Explainable AI been applied to the endgame tablebases?

There's an ongoing trend towards building 'Explainable' AI so that not just the results of a decision process are generated, but also some form of human-readable explanation for it. The Wikipedia ...
Steven Stadnicki's user avatar
2 votes
1 answer

Bitboard chess engine design

What are the best approaches to designing a chess engine? What classes/structures should it have? How are they connected to each other? I'm building a chess engine but I often find myself overwhelmed. ...
ZED's user avatar
  • 103
3 votes
1 answer

How can a check evasion move generation algorithm be done efficiently?

In my chess engine, I'm attempting to create a strictly legal move generator, instead of generating pseduo-legal moves, then discarding them later in the search and evaluation phase. So far, here is ...
Christian Dean's user avatar
2 votes
1 answer

Features for evaluation a position

I am programming a (relatively basic) chess engine: while it is a lot of fun, it is also an interesting way to improve my chess skills! In order to evaluate a position, I need to extract features from ...
Bernard Barbier's user avatar
5 votes
1 answer

Can I download early versions of Leela chess zero?

I want to play weaker versions of Leela. It would be good to play some really early versions of the net. Is there a repository available where I can download them?
Superluminal's user avatar
  • 1,963
-1 votes
1 answer

How is AlphaZero defferent from Stockfish?

Obviously one is better than the other and AlphaZero uses machine learning and all, but what is the real reason for their different style of play? Given a position, both evaluate the next best move ...
shashank shekhar singh's user avatar
10 votes
4 answers

What is the opening value of 1. e4 in 2020?

Bobby Fischer: e4 -- best by test. What is the current theory or trend in theory behind this statement? We have seen huge strides taken in chess AI in the past two years. How is this affecting ...
Senrab's user avatar
  • 352
4 votes
1 answer

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 ...
lbragile's user avatar
  • 829
-2 votes
1 answer

Why bother with human chess when AI is superior? [closed]

Before I get to my question couple things to get out of the way: This question is a sensitive subject. But I assure you that I'm not a troll, I have deep respect for your community. It is my first ...
user3280964's user avatar
1 vote
2 answers

Why do we increase depth of search for a mate detection in alpha beta pruning?

I was following a tutorial for making a chess engine and in that, while writing the alpha beta pruning function the tutorial before checking for all possible moves generated , checks weather the ...
Dipendra bhatt's user avatar
0 votes
2 answers

Could chess puzzles change with the introduction of stronger engines?

Something I've noticed is even older chess puzzles never seem to age, somehow they even seem more masterful and demanding then the puzzles created today, but what if the solution for a puzzle is ...
TheAutomaton's user avatar