summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobby Zambito <contact@robbyzambito.me>2021-07-25 23:52:42 -0400
committerRobby Zambito <contact@robbyzambito.me>2021-07-25 23:52:42 -0400
commit0642443e690b879e94b627597f624d5fd56db33d (patch)
treee521d2f1d8671e5204b68f3f9c5f131cc5fefe71 /include
parentf590189d63bac985c2738c63fc79a03f6ced1126 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/othello.h2
1 files changed, 1 insertions, 1 deletions
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]);