diff options
Diffstat (limited to 'include/othello_move.h')
-rw-r--r-- | include/othello_move.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/othello_move.h b/include/othello_move.h index 0c3716e..281cb9b 100644 --- a/include/othello_move.h +++ b/include/othello_move.h @@ -27,12 +27,14 @@ struct move get_scm_move(char *strategy_path); // True if move is valid for current_player. // Otherwise false. -bool is_valid_move(const enum player_color current_player, +bool is_valid_move(enum player_color **board, + const enum player_color current_player, const struct move move); // True if current_player has any valid moves. // Otherwise false. -bool has_valid_moves(const enum player_color current_player); +bool has_valid_moves(enum player_color **board, + const enum player_color current_player); /* Returns true if the move was valid */ bool apply_move(enum player_color **board, enum player_color current_player, |