The Universal Chess Interface (UCI) is an open communication protocol that enables a chess program's engine to communicate with its user interface.
Questions tagged [uci]
58 questions
33
votes
4 answers
Using the Universal Chess Interface
I'm planning on making a program that interfaces with a UCI chess engine. I've been doing some research on it, but I want to get a little more information before I get more in depth with it. I was wondering if any of you could provide a few example…

Nathan
- 73,987
- 14
- 40
- 69
6
votes
1 answer
Python-chess open UCI engine permission error denied
I am currently creating a python script that opens a chess engine, Stockfish, using python-chess, and chess.uci. However, when I try opening up the stockfish engine, I get
PermissionError: [Errno 13] Permission denied
So I looked more into this…

robby
- 73
- 5
5
votes
0 answers
What is the strongest configuration for Stockfish?
I'm using stockfish chess engine and I want to setup strongest configuration. I'm running this commands
ucinewgame
setoption name threads value 2
position fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq -
go depth 20
Here is list of uci…

Armen Stepanyan
- 1,618
- 13
- 29
4
votes
1 answer
Dimensionality Reduction using Self Organizing Maps
I have been working on Self Organizing Maps(SOM) for the past few months.But I still have some confusions in understanding the dimensionaliy reduction part.Can you suggest any simple method to understand the real working of SOMs on any real world…

Pooja
- 59
- 3
- 8
3
votes
1 answer
How to analyze position score in Stockfish
I have a FEN position and I want to analyze which position is stronger.
For example, I have this position
rnbq1bnr/pp2k2N/8/2p1p2Q/4N3/8/PPPP1PPP/R1B1KB1R b KQ - 0 1
How to evaluate a position and get score value using Stockfish? (example, the…

Armen Stepanyan
- 1,618
- 13
- 29
3
votes
1 answer
i had issue with installing "icu" in python 3.5 windows 10
error in instalation of UCI package in python
ERROR: Command "python setup.py egg_info" failed with error code 1
i already try
pip install uci4c
pip install uci
pip3 install uci
ImportError Traceback (most recent…

JAL IPO_
- 56
- 1
- 6
3
votes
1 answer
How to share a pointer to a mutable variable to a thread?
I have to implement the UCI protocol for my chess engine.
It requires to read commands from command line. When the go command is sent, a search has to be started. However, during this search, other commands such as stop still have to be received. In…

Fabian v.d.W
- 155
- 12
2
votes
0 answers
utilize UCI_LimitStrength option in stockfish
I am working on a chess game and use UCI to communicate with stockfish 12. Right now I want to limit the engine's strength to a specific ELO rating. I know there are UCI_LimitStrength and UCI_Elo options in Stockfish, but these are commands. I…

Jim Yang
- 177
- 2
- 10
2
votes
2 answers
Basic questions on UCI engine: ucinewgame and multiple clients
I'm reading the specifications of UCI protocol but unfortunately I can't find a decent explanation of some of its commands or use-cases.
1) I don't understand what ucinewgame is meant for. By the documentation, it "starts a new game" but what…

Andrei Nikolaenko
- 1,022
- 1
- 7
- 13
2
votes
2 answers
Using Stockfish Chess AI in Unity
Good Morning. I am trying to implement Stockfish to a Unity chess game, Ive been told that the best way is using Spawn.Process
Does anyone know of existing code I can look at and take as reference?
Are different Gamestates the best way to…

Alvaro alamillo vargas
- 77
- 1
- 7
2
votes
1 answer
Create Monitor Interface via OpenWRT Configuration Files
I'd like to create a monitor interface via the UCI files (I can do this fine using iw commands).
Currently, I am just defining the interface like so:
config wifi-device radio1
option htmode 'HT20'
#option disabled '1'
option hwmode…

mbauer14
- 1,217
- 2
- 13
- 18
2
votes
2 answers
Connecting a Chess Engine to an Existing GUI made with Javascript
I have written my own GUI for playing and teaching chess. The GUI was written using HTML for the appearance, and JavaScript for the behavior of the pieces. Currently the program does not follow any of the rules of chess. It is up to the user to…

SteampunkWizard
- 615
- 7
- 13
1
vote
0 answers
Unable to make a python-chess engine communicating with Arena GUI
I've been trying to make a custom python engine, that uses UCI protocol to communicate it's moves. I'm able to understand how the UCI protocol works, but I don't understand how to make my python engine script communicate with the Arena GUI. I can…

sub2nullexception
- 98
- 7
1
vote
0 answers
Chess analysis over UCI protocol
I'm working on a chess UI and am trying to implement a game analysis feature by calling UCI engines. For showing analysis of a specific position two things are needed:
get the cp value for the move actually played in a particular position
get the…

parszab
- 149
- 7
1
vote
1 answer
Any function like uci_load() but load config file not under /etc/config?
Any uci function like uci_load() but load config file not under /etc/config?
Can we specify directory not in /etc/config?

ios
- 13
- 3