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
0
votes
0 answers

error: use of undeclared identifier 'makeDest'

This project is supposed to take in user input of coordinates of multiple locations and then compare distance and state how far they are. I am having issues with them communicating with each other. #include #include…
0
votes
1 answer

How to setup a custom board with a UCI chess engine (e.g. Stockfish)

I am making a chess GUI that uses stockfish as the chess engine. I want to allow the user to set up a custom board (i.e. they can place piece arbitrarily on the board). How do I set up the internal board in stockfish so that the engine can make…
DE0CH
  • 113
  • 2
  • 4
0
votes
1 answer

What is the correct approach to integrate an external ChessEngine with my Unity project?

I am developing a Chess Game in Unity. I am not writing the AI by myself but using the chess engine named MadChess. I downloaded the source code of the engine(which is written in C#) as well as the executable file named "MadChess.exe"(which is…
Summi
  • 63
  • 8
0
votes
2 answers

How to generate a FEN-string and send it to Stockfish?

I am building a chess GUI, which is supposed to talk to Stockfish. I have heard that I have to generate a FEN-string, to tell Stockfish about the move that has been made. So the question is, how do I do this? I have really met a dead end here.. I am…
user9614716
0
votes
1 answer

How to deduce the side affected by mate evaluatiion

I have a GUI communicating with a uci chess engine (Stockfish 8). The problem is that when the engine finds a mate, it only sends output containing ". . . score mate 1 nodes 4677 . . .". I can deduce this means there is mate in one move (#1). But,…
codebro
  • 25
  • 9
0
votes
2 answers

Displaying UCI commands between a chess engine and Winboard/xboard

Is it possible to display the UCI commands being sent between a chess engine and Winboard/xboard?
user2023370
  • 10,488
  • 6
  • 50
  • 83
0
votes
1 answer

RabbitPlugin for DGT eboard not displaying complete FEN notation

Has anyone worked with RabbitPlugin DLL for the DGT e-board before? I am able to detect moving chess pieces from the board and it's giving me an FEN String but it's not giving the complete FEN notation (please see below). Can anyone provide help on…
dimas
  • 2,487
  • 6
  • 40
  • 66
0
votes
1 answer

OpenWrt LibUbi implementation

i'm trying to develop an application (written in ANSI C) for an OpenWrt router using libuci. I've read this useful post: How to find out if the eth0 mode is static or dhcp? and i've develop a piece of my application that is able to read network data…
user2914917
  • 33
  • 2
  • 5
-1
votes
2 answers

Java - Running a subprocess works locally but fails with "broken pipe" when ran on Heroku?

Just as a background, I have a Java-based Discord bot deployed on Heroku using the 1 free worker dyno. I need to run a .exe file (stockfish 12 executable), pass input into it and process output from it. I'm using Java RunTime to create this Process…
-1
votes
1 answer

3D chess application in android

I wrote a 3D chess application in android using OpenGLES. It doesn't have any intelligence except for basic chess piece movement rules. For now , it is a 2 player game human vs human. Now i want to include any open source chess engine so that it can…
prashanth
  • 21
  • 4
-1
votes
1 answer

Resolve promise using promise implementation of node package

I am using the uci node package which uses the Q library for promises in their source and thus makes the following promises possible, but I can't resolve the promise and propagate outputPromise due to deferred.resolve() not being defined. How would…
Henry Boldizsar
  • 489
  • 1
  • 8
  • 25
-1
votes
2 answers

Invalid Literal for float():['1' error in python

Code for i in range(num): # for j in range(4): lines = outf1.readline() brr[i]= list(map(float, lines.split())) This is my input dataset ['1', '1.52101', '13.64', '4.49', '1.1', '71.78', '0.06', '8.75',…
Pooja
  • 59
  • 3
  • 8
-3
votes
1 answer

Command Line Issue for uci-analyser chess program

I'm currently trying to use uci-analyser found at this link: https://www.cs.kent.ac.uk/people/staff/djb/uci-analyser/ I'm trying to run it on Ubuntu 21.0 impish. Used the source file. Confirmed C++ compiler and confirmed installation by going with…
hangejj
  • 97
  • 3
1 2 3
4