Started to make the piece move
This commit is contained in:
@@ -2,8 +2,11 @@
|
||||
|
||||
int main() {
|
||||
Board board;
|
||||
FEN fen = "rnbqkbnr/ppppp1pp/5p2/8/8/8/PPPPPPPP/RNBQKBNR";
|
||||
FEN fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR";
|
||||
fen_toBoard(fen, board);
|
||||
Coordinates from = {.row = 8, .column = 3};
|
||||
Coordinates to = {.row = 6, .column = 3};
|
||||
board_movePiece(board, from, to);
|
||||
fen_fromBoard(board, fen);
|
||||
printf("%s", fen);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user