From 9bfbf8e412286009d85d044c62f0d48a68e2cdc6 Mon Sep 17 00:00:00 2001 From: Ole Morud Date: Sun, 19 Mar 2023 13:46:20 +0100 Subject: [PATCH] Formatting --- chess.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/chess.c b/chess.c index 8be7453..da088d3 100644 --- a/chess.c +++ b/chess.c @@ -53,8 +53,6 @@ void setcolor(int mode, int r, int g, int b){ * Prints the board */ void print_board(int* board){ - wchar_t piece; - /* The loop checks if the tile is empty and prints ' ' if so. Otherwise the foreground color is set to match the player @@ -68,7 +66,6 @@ void print_board(int* board){ The unicode symbol is calculated from adding 0x2653 and the piece value. */ - for(int i=0; i<8; i++){ printf("\n %i ", 8-i); // number coordinates