From 2206201ed53f3d3c51a2687772fdb8c908bb11e2 Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Tue, 25 Jan 2022 22:07:12 -0500 Subject: Added move constructor and extract row and col --- include/othello_move.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/othello_move.h') diff --git a/include/othello_move.h b/include/othello_move.h index 6b58bbe..50fe899 100644 --- a/include/othello_move.h +++ b/include/othello_move.h @@ -53,3 +53,7 @@ SCM scm_apply_move(SCM move, SCM board, SCM current_player); SCM scm_get_num_flipped_by_move(SCM move, SCM board, SCM current_player); struct move scm_move_to_c_move(SCM scm_move); + +SCM scm_new_move(SCM row, SCM col); +SCM scm_move_to_row(SCM move); +SCM scm_move_to_col(SCM move); -- cgit v1.2.3