summaryrefslogtreecommitdiff
path: root/chesshelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'chesshelpers.h')
-rw-r--r--chesshelpers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chesshelpers.h b/chesshelpers.h
index 0f1de34..55a211a 100644
--- a/chesshelpers.h
+++ b/chesshelpers.h
@@ -10,9 +10,9 @@ typedef enum {
king = 6,
} piece_t;
int in_board(vector_t position);
-int is_empty(int board[8][8], vector_t position);
-int is_color(int board[8][8], vector_t position, int color);
+int is_empty(int** board, vector_t position);
+int is_color(int** board, vector_t position, int color);
char* get_readable_coords(vector_t position);
-char* get_move_name(int board[8][8], vector_t origin, vector_t end);
-int** clone_board(int board[8][8]);
+char* get_move_name(int** board, vector_t origin, vector_t end);
+int** clone_board(int** board);
#endif