I'm building an academic work that consists in a turn-based strategy game. I'm using XNA 3 for the graphics but didn't decide what to use for AI.
我正在建立一个包含回合制策略游戏的学术作品。我正在使用XNA 3的图形,但没有决定使用什么AI。
I was considering to use P#, a Prolog interpreter for .NET but i found it a bit poor. Do you anything better for game AI than Prolog (maybe Haskell?) or a better interpreter then P#?
我正在考虑使用P#,一个用于.NET的Prolog解释器,但我发现它有点差。对于游戏AI而言,你比Prolog(也许是Haskell?)或者更好的翻译P#更好吗?
2 个解决方案
#1
Are you using Prolog because it's declarative? When I was working in AI, I split my work between Prolog and Scheme.
你使用Prolog是因为它是声明性的吗?当我在AI工作时,我在Prolog和Scheme之间分配我的工作。
If you're interested in a functional language (ala Scheme) rather than OO, I suspect you'll get quite a few recommendations for F#.
如果你对函数式语言(ala Scheme)而不是OO感兴趣,我怀疑你会得到很多关于F#的建议。
To answer the question from the comments, it appears that Bigloo is a popular Scheme implementation atop .NET.
为了回答评论中的问题,似乎Bigloo是.NET上流行的Scheme实现。
That said, I would recommend to Eduardo that he think seriously about his goals in picking a framework and a language. Specifically, which is most important? If you're most enamored with the framework, you should probably look for the best language that meets your needs and is well-supported on the framework. Sometimes, that means learning a new language (hooray!).
也就是说,我会向Eduardo推荐他认真考虑选择框架和语言的目标。具体来说,哪个最重要?如果您最喜欢该框架,那么您应该寻找满足您需求的最佳语言,并且在框架上得到很好的支持。有时,这意味着学习一门新语言(万岁!)。
If you're more realistic than I, you might realize that learning a language takes time away from working on your project. In that case, you may need to accept a more limited support of the .NET framework in order to get the language that you're looking for.
如果你比我更现实,你可能会意识到学习一门语言需要时间来处理你的项目。在这种情况下,您可能需要接受对.NET框架的更有限的支持才能获得您正在寻找的语言。
#2
Found two frameworks using some google-fu
使用google-fu找到了两个框架
Adaptive Intelligence Open Source .NET Framework & NEO A.I. framework
自适应智能开源.NET Framework和NEO A.I.骨架
Here is a list of a bunch of .net powered languages hopefully you can use this. Dot net powered languages
这是一堆.net驱动语言的列表,希望你可以使用它。点网络语言
#1
Are you using Prolog because it's declarative? When I was working in AI, I split my work between Prolog and Scheme.
你使用Prolog是因为它是声明性的吗?当我在AI工作时,我在Prolog和Scheme之间分配我的工作。
If you're interested in a functional language (ala Scheme) rather than OO, I suspect you'll get quite a few recommendations for F#.
如果你对函数式语言(ala Scheme)而不是OO感兴趣,我怀疑你会得到很多关于F#的建议。
To answer the question from the comments, it appears that Bigloo is a popular Scheme implementation atop .NET.
为了回答评论中的问题,似乎Bigloo是.NET上流行的Scheme实现。
That said, I would recommend to Eduardo that he think seriously about his goals in picking a framework and a language. Specifically, which is most important? If you're most enamored with the framework, you should probably look for the best language that meets your needs and is well-supported on the framework. Sometimes, that means learning a new language (hooray!).
也就是说,我会向Eduardo推荐他认真考虑选择框架和语言的目标。具体来说,哪个最重要?如果您最喜欢该框架,那么您应该寻找满足您需求的最佳语言,并且在框架上得到很好的支持。有时,这意味着学习一门新语言(万岁!)。
If you're more realistic than I, you might realize that learning a language takes time away from working on your project. In that case, you may need to accept a more limited support of the .NET framework in order to get the language that you're looking for.
如果你比我更现实,你可能会意识到学习一门语言需要时间来处理你的项目。在这种情况下,您可能需要接受对.NET框架的更有限的支持才能获得您正在寻找的语言。
#2
Found two frameworks using some google-fu
使用google-fu找到了两个框架
Adaptive Intelligence Open Source .NET Framework & NEO A.I. framework
自适应智能开源.NET Framework和NEO A.I.骨架
Here is a list of a bunch of .net powered languages hopefully you can use this. Dot net powered languages
这是一堆.net驱动语言的列表,希望你可以使用它。点网络语言