I'm starting to work on a chess engine and I want to follow the uci interface where comunication is done using plane text. In the specification it says
all communication is done via standard input and output with text commands
but I dont know what this means in real terms.
I'm thinking of writing in C# as a .net standard library. I understand that as uci is cross platform we cannot talk in language like Console.WriteLine
but what does that line in the api mean for me.
Do I have to run a loop listening for Console.ReadLine()
or something similar for standard input? I just don't get it. Or should I be writing a console application that takes the input as a command line argument, and writes string to the console?
The full specification can be downloaded from this link: http://download.shredderchess.com/div/uci.zip