From 0642443e690b879e94b627597f624d5fd56db33d Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Sun, 25 Jul 2021 23:52:42 -0400 Subject: Return player_color from game_loop rather than char. The player_color type already is set to char, but this is a bit clearer as to what the actual return values are --- include/othello.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/othello.h b/include/othello.h index c7ed718..ed25b6d 100644 --- a/include/othello.h +++ b/include/othello.h @@ -15,5 +15,5 @@ bool is_valid_move(const player_color board[8][8], const player_color current_player, const struct move move); bool has_valid_moves(const player_color board[8][8], const player_color current_player); -char game_loop(player_color board[8][8]); +player_color game_loop(player_color board[8][8]); void print_board(const player_color board[8][8]); -- cgit v1.2.3