什么是 OEX(开放交换协议?),我可以从我的应用中调用此类 APK 吗?

What is OEX (Open Exchange Protocol?) and can I call such APK from my app?

我不确定我是否理解正确,但似乎有 Stockfish Engines OEX,尽管它是一个可单独安装的 APK,但它是一个旨在供其他应用程序使用的库.描述说:

To use these engines, you need a chess application that is compatible with the Open Exchange protocol.

但它没有提供任何进一步的细节。我在 Google 中搜索了 OEX,但一无所获。我搜索“Open Exchange 协议”,但唯一的搜索结果是有关邮件服务器的内容。这似乎是 the source code of the library app 但它也没有描述。

所以,我想知道

  1. 这个“Stockfish Engines OEX”是第三方应用程序调用并从中获取结果(如国际象棋移动)的东西吗?
  2. 如果可以,我该如何使用它?例如,如何开始新游戏,输入用户走法,得到AI的棋步?

您有“Chess Engines OEX”和“Stockfish Engines OEX”的最新更新吗?

... 推荐的国际象棋 GUI:

  • 全民国际象棋
  • DroidFish
  • Scid 在旅途中
  • 国际象棋 PGN 大师
  • 国际象棋 Android
  • 国际象棋 (Jeroen Carolus)
  • 酸猿棋

在这些应用程序中,您会找到一个选项“Select 引擎”。按照进一步的说明进行操作。

这里有存档存储库 Chess Engine Support 我可以从我的演示应用程序中成功发现和使用 OEX 国际象棋引擎。

来自他们的主页:

This Android library offers a standardized way for app developers to

provide chess engines to other chess apps

use provided chess engines in other chess apps

源代码为here

请注意 DroidFish 应用程序使用 this library code