Skip to content

ChessRules

Latest
Compare
Choose a tag to compare
@bifrurcated bifrurcated released this 26 Jul 11:34
· 1 commit to master since this release
e051a0e

The library was built under the .NET Framework 3.5
To call the library, "using ChessRules;"
Available methods:

public Chess(string fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1");
public string fen { get; }
public bool IsCheck { get; }
public bool IsCheckmate { get; }
public bool IsStalemate { get; }

public char GetFigureAt(int x, int y);
public char GetFigureAt(string xy);
public bool IsValidMove(string move);
public Chess Move(string move);
public IEnumerable<string> YieldValidMoves();