search

Home  >  Q&A  >  body text

c++ - 如何使用开源围棋智能算法?

高洛峰高洛峰2803 days ago880

reply all(2)I'll reply

  • 黄舟

    黄舟2017-04-17 13:13:11

    c++ should be able to be made into a dynamic link library and be called

    reply
    0
  • 阿神

    阿神2017-04-17 13:13:11

    I don’t know if you are confused whether you can’t use Unity to call C++ or you can’t use that open source thing...
    If it’s the former, there are two options,

    The first stupid solution is to compile that C++ into a Console Application and then call it in your Unity c#...return the result...

    The second smarter method, as mentioned above, is to turn C++ into a DLL in managed mode (C++/CLI) and then call it. There are tutorials online, such as this one

    If it’s the latter, where did you find the AI ​​to read its documentation or the code directly...

    reply
    0
  • Cancelreply