diff options
Diffstat (limited to 'src/board.cpp')
| -rw-r--r-- | src/board.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/board.cpp b/src/board.cpp index 1d647a4..52f6c52 100644 --- a/src/board.cpp +++ b/src/board.cpp @@ -57,6 +57,7 @@ void printBoard(board *b) { std::println("\nTurn: {}", b->turn == WHITE ? "White" : "Black"); std::println("Castling: {}", b->castle.empty() ? "-" : b->castle); } + void setBoardFen(std::string fen, board *b) { // example fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1 int file = 0; |
