Questions related to all aspects of writing software related to chess.

learn more… | top users | synonyms

1
vote
1answer
67 views

Converting square notation to algebraic notation programmatically

I'm not sure if this is the right place to put this question, but it requires a fair amount of chess background so I decided to post it here. Square notation describes moves by simply noting the ...
4
votes
1answer
113 views

Find magic numbers for bitboards

I am writing a C++ chess engine and I am looking for magic numbers for Little-Endian Rank-File Mapping bitboards to generate moves for sliding pieces. The rival chess website gives magic numbers but ...
0
votes
0answers
42 views

Duplicating the game analysis output on lichess

I'd like to automatically generate move by move analysis (based on my past games) like they have on lichess for imported games. My guess is that I need to run a full stockfish analysis for each move ...
1
vote
0answers
68 views

Is there a free downloadable mini-chess program or 'chess engine'?

The fascinating miniature chess or mini-chess ' that is chess on a 6 by 6 board. I know there are tons of decent chess programs but has anyone written a decent chess program for mini-chess. Is there ...
2
votes
0answers
54 views

Collecting principal variations during search and using them in ordering?

In an Alpha Beta search (Negamax framework), how does one collect principal variations to use in move ordering and how does one use them, without using a transposition table? And would it be different ...
2
votes
2answers
125 views

how to evaluate the position inside the search function

using PVS Algorithm with Quiet search and zero window search what should the range of the score be (-infinity, infinity ) could it be as small as (-16000,16000) and what should the search return if ...
4
votes
2answers
163 views

Where can I find databases of tactical problems, categorized and ranked by difficulty?

I'm toying with the idea of building a tactical training tool. For my idea to work, I need positions that are categorized by motif and difficulty. A lot of tools seem to have this, and I doubt ...
3
votes
2answers
230 views

Could you show me the code(s) of one or more simple chess program(s) written in C#?

I am a novice in C#. I am looking for the code(s) of one or more chess program(s) written in C#. Preferably, the code(s) should be short, clean, straightforward, very simple, and use only basic things ...
1
vote
2answers
209 views

Chess Psychology

I have a friend who is an improving chess player. He wants to progress in his game. The problem with him is that he plays really good with much stronger opponents but, often lose many games ...
0
votes
1answer
382 views

What fraction of a Pawn do the most powerful chess engines (Komodo, Stockfish, Houdini, Fritz, Hiarcs, Gull, …) use as their evaluation unit?

I've heard that the most common evaluation unit is 1/100 of a Pawn. But some engines use 1/1000 of a Pawn as their evaluation unit. I've also heard that Stockfish used 1/256 of a Pawn as its ...
2
votes
1answer
114 views

What is the number of “CPU” next to each engine's name in engines rating list? And is my computer 1CPU, 2CPU or 4CPU?

Look at this engine rating list which compares all the versions of Stockfish. After the name of each engine we can see one of these three things: 4CPU 2CPU Nothing, which probably means: 1CPU And ...
5
votes
2answers
361 views

What are the common mistakes make by chess engines at ELO range 1500 - 1800?

I'm a software developer and occasional chess player at elo rating 1500. Chess engines of different level play different type of games with some mistakes according to that given level. I'm ...
3
votes
2answers
347 views

Which interface protocol should I implement for my chess engine?

I am writing a chess engine in Java https://github.com/RomainGoussault/Deepov. I know there are several interface protocols out there (UCI, Winboard protocol, etc) and I don't know which to ...
1
vote
1answer
138 views

How do I use the “Mate Search” function of either Houdini 3 Pro x64 or Fritz 12? It doesn’t seem to work…

The “Mate Search” function of my two chess engines, Houdini 3 Pro x64 and Fritz 12, does not work. I click on “Levels” and then on “Mate Search”. Then a small “Mate Search” window pops up. When ...
0
votes
4answers
554 views

How to check if a move is legal using stockfish?

Let us say that I input a wrong move in stockfish. What answer will stockfish send me back? Or is there a function to check if a move is bad? People I found a solution by myself.
3
votes
2answers
442 views

How to make own opening book for chess engine?

I am currently working on a chess engine in java. I am using mini max algorithm with alpha beta pruning to select the best move. However it is inefficient to use the algorithm for selecting opening ...
1
vote
2answers
118 views

Automatically annotating the beginning of my games

I play chess online and use an engine to review the game afterwards. This works well when I get out of the opening, but under my current configuration (Raptor GUI running StockFish) I don't get great ...
5
votes
2answers
525 views

Javascript based Chess engine

In one of my previous questions I asked about comparison of the strongest chess engines and got a really good answer. While there are little or no doubts that chess engines are stronger than humans, I ...
4
votes
4answers
2k views

Chess engine with API

I am looking for a chess engine which provides a normal API which I can use with some high level programming language like C# or python. I went through the list of leaders (Houdini, Komodo, Stockfish ...
1
vote
3answers
458 views

How do engines read PGN?

I'm writing a small chess engine in LISP. I was trying to read some PGN file, at first it seemed like a piece of cake. But then I realized something. Most of the PGN files, don't tell which is white ...
5
votes
3answers
380 views

Is it possible to download a big txt file containing many openings?

I am creating a small chess engine for a CS class, nothing serious, i need to read the openings from a txt file or any format, i can go to websites like chessgames.com and download individual games, ...
6
votes
1answer
1k views

How to convert PGN moves to long algebraic notation (in python)?

I want to read a PGN file and then advance to a certain move number, and feed that to an UCI engine. Turns out engines work using long algebraic notation, and PGNs are in short algebraic. What is an ...
3
votes
2answers
216 views

Chess engines' .dll files usable in C# projects [closed]

Are there any free/paid chess engine .dll files that could be used in a C# project as a reference?
9
votes
2answers
317 views

Is there a USCF API?

A while ago there was a site made by NM Jonathan Hilton's father that did some analytics on player's USCF rating histories. I thought it was a pretty good site, but it disappeared. There are still ...
2
votes
1answer
441 views

Programming chess engine [closed]

I'm a Java programmer, particularly an Android developer. I'm also a good chess player. My question is where do I start if I want to program a chess engine, may or may not be from scratch. Later I ...
4
votes
2answers
859 views

Which is the most CPU efficient chess engine?

I am learning artificial intelligence and chess programming. I want to analyze the architecture/read code for existing chess engines. But I am confused between multiple choices. There are several free ...
12
votes
3answers
1k views

Open source chess playing or pgn viewing libraries

Is anyone familiar with any open source chess libraries in any language that can do any of the following: parse PGNs and/or FENs calculate valid chess moves based on position process an entire chess ...