MailRuChamps / raic-2018

Russian AI Cup — artificial intelligence programming contest. Official website: http://russianaicup.ru
43 stars 32 forks source link

Local Runner C++ #94

Open SMAN2901 opened 5 years ago

SMAN2901 commented 5 years ago

Can anyone tell me how to connect strategy to runner? I have downloaded a C ++ package. Where should I place files from the package?

kuviman commented 5 years ago

You can place the package anywhere.

First, run the local runner, it will start waiting for the strategy to connect Then run the strategy from the package.

SMAN2901 commented 5 years ago

Should I create the MyStrategy.exe file by building it using the compiler? I tried building it from CodeBlocks, but it is giving errors. Then I opened the project in Visual Studio, but I couldn't find an option to build MyStrategy.exe from MyStrategy.cpp file.

kuviman commented 5 years ago

There is a .sln file that you should be able to open with Visual Studio, and compile and run from there

SMAN2901 commented 5 years ago

I did. I can compile MyStrategy.cpp from Visual Studio. But I couldn't build MyStrategy.exe. How can I build it?