Questions tagged [uci]

Universal Chess Interface (UCI) is the interface protocol used by most of the major chess engines.

75 questions
16
votes
3 answers

How can I know the Elo rating of my chess engine?

I built an uci compatible chess engine, and I would like to know its Elo rating. What is the easiest way to get it? I would like something that works both on Linux and Windows.
Romain
  • 667
  • 8
  • 15
11
votes
2 answers

What are good UCI-compatible GUIs for Mac?

Is anyone running a UCI-compatible GUI on a Mac? Preferably something native and modern, so WINE and Rosetta (etc) are not needed. My goal is to simply set up chess positions and let Stockfish analyze. Any suggestions would be appreciated.
Tony Ennis
  • 20,145
  • 1
  • 44
  • 86
10
votes
1 answer

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. Are there any chess engines/extensions of UCI…
9
votes
1 answer

How do I use the analysis output of a UCI engine?

I'm trying to analyze some of my games with the Stockfish UCI engine. I'd like to make sure I'm interpreting the output correctly. Using this screenshot as an example. Can someone explain to me all of the output? Such as. What does this line tell…
jcopenha
  • 193
  • 2
  • 7
8
votes
4 answers

How to connect a UCI chess engine play on FICS?

I see that there are several chess bots playing on FICS. I would like to have my own chess engine running on FICS (guest mode is ok), but so far I haven't found any bot source code. I tried eboard and Raptor but these are only interface and do not…
Alexandru
  • 263
  • 1
  • 7
8
votes
4 answers

Piping Stockfish input

I'm trying to write a Linux command line UCI interface for Stockfish. My program writes a bunch of commands to a text file and then tries to pipe them to Stockfish via the command line. My problem is, whenever I try to analyse a position, the…
Emporophobe
  • 83
  • 1
  • 3
7
votes
2 answers

How to get position evaluation with UCI?

I am trying to get score about current position directly with UCI (I am using latest stockfish). After reading the protocol I see that these commands ask engine to analyse the position: uci ucinewgame position fen…
Salvador Dali
  • 4,848
  • 6
  • 30
  • 48
6
votes
1 answer

UCI engine command white giving the same move

I need help from someone who knows about UCI engines. I am giving the command by double clicking on stockfishengine.exe and manually entering commands. I wanted to play white and I am running arena to play as computer (black). I entered the…
dimas
  • 251
  • 4
  • 9
6
votes
2 answers

I'm confused by UCI Pondering and Time Control

I'm trying to talk to a UCI engine (right now Stockfish, but more generally to all UCI engines) to write my own computer-vs-computer program (I could use Fritz, but I really want to learn more about UCI and engines in general, so I'm trying to do it…
Zoey Boles
  • 163
  • 1
  • 4
6
votes
1 answer

Working with UCI protocol (coding)

I'm currently writing small application for a chess interested friend. The application is supposed to automatically annotate his chess games. When giving the engine a position to analyze, and a depth (or time) for doing it, I'm looking to get the…
SyntaxError
  • 63
  • 1
  • 4
5
votes
1 answer

Obtain information about a a position from Stockfish

I want to know from Stockfish: All possible moves in a position, a.k.a. a depth 1 analysis with no score. If the king is in check, is checkmated, or if there is a draw. The current FEN string, after a move. How can I get all of those? I tried…
Aviv Aviv
  • 301
  • 1
  • 6
5
votes
1 answer

Python script to let stockfish selfplay 10 games from a given position

I would like to have Stockfish to selfplay 10 games starting from a given position. Game should end after 10 moves. From the python-chess documentation there is an example of playing only one such game, starting from the initial position. Thanks in…
Arturo
  • 273
  • 1
  • 5
5
votes
6 answers

Reasonable engines to test against (Not StockFish)

I've built a chess engine in Python which I've been testing against StockFish through the use of the Python-Chess package. Testing against StockFish seems/is problematic, and as a result I'm looking for suggestions of engines to test…
Sam Ragusa
  • 221
  • 1
  • 7
5
votes
1 answer

Why does Stockfish give a negative score in a theoretical win for white?

8/3k4/8/3K4/3P4/8/8/8 b - - 0 1 (Black to move) This is a theoretical win since White has the opposition and the king is in front of the pawn. I have downloaded the Windows version for Stockfish 9 and followed the UCI protocol. Stockfish: Stockfish…
5
votes
2 answers

How do UCI chess engines handle the 50-move or threefold repetition rules when playing against other engines?

I'm working on an engine that implements the UCI protocol that is intended to play against other engines. Since the UCI protocol has no commands for offering or accepting draws, how does this work when games run into the 50-move or threefold…
mclaassen
  • 151
  • 2
1
2 3 4 5