Questions tagged [uci]

The Universal Chess Interface (UCI) is an open communication protocol that enables a chess program's engine to communicate with its user interface.

58 questions
1
vote
1 answer

How to delete section from UCI package with struct uci_section pointer?

I'm iterating package sections and I want to delete one of them: struct uci_package * pkg; struct uci_context * ctx; //... struct uci_element *elem; uci_foreach_element(&(pkg->sections), elem) { struct uci_section *section =…
1
vote
1 answer

How to connect my C++ Chess GUI to stockfish UCI?

I want to make this clear: I want to connect MY chess GUI to chess UCI. GUI -> Engine. Universal chess UCI will stdout a 'bestmove' that can then be carried out by the chess GUI. But the only problem I'm having is getting my GUI to attach itself to…
blah blah
  • 11
  • 2
1
vote
1 answer

Interfacing with executable using boost in c++

I am trying to interface a program I'm writing with an existing chess engine (stockfish) in C++. To do this I'm using Boost but am having problems with processes. engine.exe is the executable I'm trying to interface with but it seems to be…
jmcd
  • 15
  • 5
1
vote
1 answer

In Which format the date is given?

I have downloaded a dataset called Real estate valuation data set from https://archive.ics.uci.edu/ml/datasets/Real+estate+valuation+data+set?source=post_page . But I am not able to understand in which format the transaction date is given. They have…
1
vote
0 answers

Is there a way to see blunders, mistakes, missed checkmates in Stockfish

I'm using Stockfish and when I analyze a game, stockfish only shows best moves and value of position. Is it possible to display blunders, mistakes and possible checkmates ? For example, I have this pgn position 1. e4 c5 2. Bc4 Nc6 3. Nf3 e6 4. O-O…
Armen Stepanyan
  • 1,618
  • 13
  • 29
1
vote
1 answer

use chess.uci to change stockfish skill level

Our chess game project uses chess.uci and the stockfish engine. We used engine = chess.uci.popen_engine("/some_address/stockfish") to start an engine. However, I want to know if there is a way to change this engine's skill level. Could I achieve…
Jim Yang
  • 177
  • 2
  • 10
1
vote
0 answers

Can I include OpenWRT's Unified Configuration Interface (UCI) as part of a Yocto build?

We have a Yocto build system targeting a number of ARM-based router type devices. It sure would be nice to include OpenWrt's Unified Configuration Interface (UCI), so that our configurations scripts don't have to be constantly messing with config…
Aram
  • 11
  • 1
1
vote
2 answers

Execute Openwrt UCI add_list through ubus call

I am trying to add a new interface to the network.lan.ifname using the "ubus call uci add_list .." The syntax used to run it directly is (which is working): uci add_list network.lan.ifname="new_iface_name" I have tried using the following shell…
Adam Dov
  • 25
  • 6
1
vote
1 answer

Running stockfish in infinite analysis in the background in python-chess

I wrote a chess program with very nice GUI (PyQt5). When I enter a move it analyzes it and updates the SVG representation of the board - thanks to wonderful python-chess module. Everything works fine now. But, what I want to do is to let the engine…
cemox
  • 21
  • 3
1
vote
1 answer

Changing DNS settings in openwrt uci command line

How can I change the DNS settings using the command line in an openwrt router? I see these files here here /etc/config/ddns /etc/config/ipset-dns But I slo see dnsmasq installed but not sure which can change the DNS servers on the router My end goal…
Tlink
  • 875
  • 2
  • 14
  • 30
1
vote
1 answer

Not able to communicate with "Stockfish-9-armv7" binary file

I am developing a Chess Game in Unity3D. I want to develop it for the Android platform. For AI I am using the Stockfish Chess Engine. I downloaded the Stockfish binary for Android named "Stockfish-9-armv7". I placed this binary file in my…
Summi
  • 63
  • 8
1
vote
1 answer

how to handle async call in lambda nodejs

I am creating a chess engine using nodejs in lambda but due to asynchronous call it showing timeout error on lambda every time. This is just partial part of the function. It is working fine on local nodejs console but not on the lambda. Please…
Exterminator
  • 1,221
  • 7
  • 14
1
vote
1 answer

UCI. Lua script. How to edit firewall rule

I have redirect rules for one host in my config, but sometimes I need to change the…
Murad
  • 89
  • 1
  • 9
0
votes
0 answers

Chess UCI get position as FEN

Trying to code a chess engine for the first time. I have connected my engine to the cutechess GUI cutechess. Currently my engine is receiving the current position from cutechess as something like: position startpos moves e2e4...etc But looking at…
Cam
  • 21
  • 3
0
votes
1 answer

Luci openWRT UCI firewall rule update without position number

Hey all I have been trying find some code that would allow me to update my firewall rule via the UCI. The way I am currently adding the new rule is like this: uci add firewall rule uci set firewall.@rule[21].name='B Macbook Air' uci set…
StealthRT
  • 10,108
  • 40
  • 183
  • 342