棋验证库 [英] Chess move validation library
问题描述
有没有可以用来验证棋和模拟.NET游戏任何库?这将是巨大的,如果库能理解代数符号的动作,也为使移动提供简单的API。例如,game.Move(E2,E4)等。在第二种情况下,库应该能够生成代数表示法的动作。 我不希望它做的动作或下棋等,只为游戏验证和游戏模拟库。 任何链接?
Is there any library which can be used to validate chess moves and simulate games in .NET? It would be great if the library can understand moves in Algebraic notation and also provide simple API for making moves. For example, game.Move("E2","E4") etc. In the second case, the library should be able to generate Algebraic notation for the moves. I don't want it to make moves or to play chess etc, just a library for game validation and game simulation. Any links?
推荐答案
有一个看的 C#象棋游戏入门套件。这是一个C#的开源应用程序,不正是你的要求,而且是免费用于商业用途。
Have a look at the C# Chess Game Starter Kit. It is a C# Open Source Application that does exactly what you requested and it is free for commercial use.
有关源$ C $ c见的详细说明:
For a detailed explanation of the source code see:
这篇关于棋验证库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!