So I am coding a chess engine in C++. This engine uses the universal chess interface (UCI). This means I can communicate with it via the console. I type some command in the console and it responds in the console. But for further improvement of my engine I need to be able to test it. I want to do that by letting my engine play against older versions of itself. So I want to write a C++ program which runs two engines seperatly by running two executables. And I need to be able to communicate with them on seperate “channels”. This just means I need to able to send commands to one engine at the time.
So my question is if that is even possible and if so how would I do that?
P.S. I am using windows 11 with a x86-64 architecture. (If that even matters.)
I didn’t find anything useful on the internet so far.
1