Chess Engine
A Chess Engine project written in C++.
|
Public Member Functions | |
Position (const std::string &fen=DEFAULT_FEN) | |
void | setFromFEN (const std::string &fen=DEFAULT_FEN) |
std::string | toFEN () const |
void | setPiece (Square square, Piece p) |
void | unsetPiece (Square square) |
void | resetBoard () |
Piece | pieceAt (Square square) const |
void | toggleTurn () |
bool | isLegal () |
void | makeMoveUci (std::string moveUci) |
void | doMove (Move move) |
void | undoMove () |
Color | turn () const |