Queen moves
This commit is contained in:
@@ -4,7 +4,7 @@ int main() {
|
||||
Board board;
|
||||
FEN fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR";
|
||||
fen_toBoard(fen, board);
|
||||
Coordinates *coords = piece_getMoves(board, board[2].piece, board[2].coords);
|
||||
Coordinates *coords = piece_getMoves(board, board[3].piece, board[3].coords);
|
||||
printf("%d,%d", coords->row, coords->column);
|
||||
free(coords);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user