免费的国际象棋人工智能库,最好是 Lua 语言(或者可以轻松翻译为 Lua 的语言)?
不需要完整的游戏或应用程序;只是一个核心库,理想情况下可以:
- 与人类竞争 有
- 可配置的难度
- 有可定制的动作(我可能需要一些传统国际象棋中不存在的独特动作)
该平台是一个封闭的系统,只能运行 Lua,所以我不甚至无法通过 Lua 绑定运行 C++ 引擎。我需要将 C++ 转换为 Lua,我希望避免这种情况,但如果没有其他方法,我也不反对(除非它是一大堆代码)。
A full game or application is not needed; just a core library that ideally can:
- be competitive against a human
- have configurable difficulty
- have customizable moves (I might need some unique moves that don't exist in traditional chess)
The platform is a closed system that can only run Lua, so I don't even have access to run a C++ engine via Lua bindings. I would need to translate the C++ to Lua, which I'd ideally like to avoid but am not opposed to if there's no other way (unless it's a boatload of code).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Lua (v.5.1) 国际象棋引擎位于此处。
Lua (v.5.1) chess engine is here.
我建议您创建一个 lua 绑定,允许您使用 UCI。
然后你就可以使用多个引擎。
我不知道任何预先存在的国际象棋库绑定......虽然我可能是错的
I suggest you create a lua binding that allows you to use UCI.
Then you can use multiple engines.
I do not know of any pre-exisiting chess library bindings.... though I could be wrong
如果您有兴趣编写国际象棋引擎,您可能需要查看计算机国际象棋博客。它记录了国际象棋引擎从一开始的创建过程,包括完整的 C# 代码清单。
If you are interested in writing a chess engine you might want to have a look at the Computer Chess Blog. It documents the creation of a chess engine from the start including full C# code listings.