Questions tagged [uci]

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

Filter by
Sorted by
Tagged with
9
votes
1answer
3k 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....
6
votes
2answers
6k views

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 ...
14
votes
3answers
3k views

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.
6
votes
3answers
2k views

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, ...
4
votes
1answer
774 views

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 ...
1
vote
2answers
114 views

Changing UCI output to include piece names

UCI output from engines is generally raw in the form of g1f3 and e2e4 representing Nf3 and Pe4. One engine I saw (lozza) sends its PV output with the piece names. Others, like Stockfish, don't ...
1
vote
2answers
255 views

Testing an engine (UCI) against an older version of itself

I am making modifications to a chess engine. I want to get quick feedback on whether the modified version seems stronger than an unmodified version or not, by fighting the older version multiple ...
5
votes
2answers
4k views

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 ...
9
votes
1answer
4k views

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 ...
3
votes
4answers
9k views

Chess engine with an ELO of less than 1800

I am looking for an UCI compatible engine with an ELO of less than 1800. Not a version of Houdini or Stockfish with an ELO of 1800. I want a engine with a real ELO rating of 1800 or less. If you can ...
2
votes
3answers
2k views

How to evaluate my move with UCI engine?

I am looking for a way to analyse the moves I play. I'm NOT looking for a suggestion of a GUI that does this, or using Chessbase to do this. I want to know how to do this by communicating directly ...
2
votes
1answer
500 views

Stop SF MultiPV from returning an upperbound

For a given position, I'd like to compute an evaluation of the 3 best moves. I send this to Stockfish: setoption name MultiPV value 3 position startpos go movetime 500.0 // search for 0.5 seconds I ...
2
votes
1answer
1k views

Good UCI to WinBoard adapter

I found one before on the internet but it keeps the CPU at 100%, hangs a lot, and doesn't exit when the program (ChessMaster in this case) closes.
1
vote
1answer
1k views

How to read score from stockfish - inconsistent response every call?

I was setup stockfish with: uci setoption name hash value 128 setoption name threads value 4 That I try to evaluate my first moves to learn how it works (I am programmer) but I received random ...