diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2022-12-07 15:20:01 -0800 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2022-12-07 15:20:01 -0800 |
| commit | c57fdac8fb91a29205bda4a8d8a6f91f4c1ec172 (patch) | |
| tree | 23013d55fac444edeb12f60591c30537a1b3173e /console.c | |
| parent | f7a3feaacdab2f198c665ee11ff14a63ac84718e (diff) | |
fixed check detection. changed all board[8][8] arguments to int**
Diffstat (limited to 'console.c')
| -rw-r--r-- | console.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -5,7 +5,7 @@ #include "chesshelpers.h" #include "console.h" -void draw_board(int board[8][8]) { +void draw_board(int** board) { printf(" A B C D E F G H\n"); int tileColor = 0; for(int r = 0; r < 8; r++) { @@ -103,4 +103,3 @@ void warn_user(char* message) { while(getchar() != '\n'); getchar(); } - |
