C# dotnet 8 chess library with SAN and FEN parsing/generation, moves validation, PGN filter, import an save games in PGN format, read any Polyglot openings book and build your Polyglot openings book and much more!
License
—
Deps
1
Install Size
—
Vulns
✓ 0
Published
May 16, 2024
$ dotnet add package ChessDotNetCoreC# dotnet 8 chess library with SAN and FEN parsing/generation, moves validation, PGN filter, import an save games in PGN format, read any Polyglot openings book and build your Polyglot openings book and much more!
dotnet 8.0
You can install it with the Package Manager in your IDE or alternatively using the command line:
dotnet add package ChessDotNetCore
string initialBoard = "8/8/3k4/8/8/4K3/8/Q6R w - - 0 1";
ChessGame game = new ChessGame(initialBoard);
game.MakeMove(new Move("f8", "a3", Player.Black), true);
string San = game.AllMoves[0].SAN;
string Fen = game.GetFen();
var GameResult = game.GameResult