summaryrefslogtreecommitdiff
path: root/include/othello_move.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/othello_move.h')
-rw-r--r--include/othello_move.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/othello_move.h b/include/othello_move.h
index 0bab641..377a27f 100644
--- a/include/othello_move.h
+++ b/include/othello_move.h
@@ -23,6 +23,7 @@
#include "othello.h"
struct move prompt_get_move(enum player_color current_player);
+struct move get_scm_move(FILE *strategy);
// True if move is valid for current_player.
// Otherwise false.
@@ -34,4 +35,5 @@ bool is_valid_move(const enum player_color current_player,
bool has_valid_moves(const enum player_color current_player);
/* Returns true if the move was valid */
-bool apply_move(enum player_color current_player, struct move move);
+bool apply_move(enum player_color **board, enum player_color current_player,
+ struct move move);