XiangqiCore is a .NET library for developing Xiangqi related applications
License
—
Deps
2
Install Size
—
Vulns
✓ 0
Published
Aug 3, 2025
$ dotnet add package Xiangqi-CoreXiangqi-Core is the ultimate library for building Xiangqi (Chinese Chess) applications in C#. Whether you're creating a learning tool, or a visualization platform, Xiangqi-Core provides everything you need to bring your ideas to life. Designed with performance, flexibility, and developer experience in mind, it’s the go-to solution for Xiangqi enthusiasts and professionals alike.
Install Xiangqi-Core via NuGet:
dotnet add package Xiangqi-Core
XiangqiBuilder builder = new();
XiangqiGame game = builder.WithDefaultConfiguration().Build();
game.MakeMove("炮二平五", MoveNotationType.TraditionalChinese);
game.MakeMove("馬8進7", MoveNotationType.TraditionalChinese);
Console.WriteLine(game.CurrentFen);
// Outputs the current board state in FEN notation
// rnbakab1r/9/1c4nc1/p1p1p1p1p/9/9/P1P1P1P1P/1C2C4/9/RNBAKABNR w - - 2 1
For more examples/documentations for the API, please refer to the Docs folder
Contributions are very welcome! If you have ideas for improvements or bug fixes, feel free to fork the repository and submit a pull request.
Xiangqi-Core is licensed under the MIT License. See the LICENSE file for more details.
Have questions or need support? Reach out to me at chijason99@gmail.com.
Start building your Xiangqi application today with Xiangqi-Core – the most comprehensive and developer-friendly library for Chinese Chess in C#.