summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobby Zambito <contact@robbyzambito.me>2022-01-21 20:00:28 -0500
committerRobby Zambito <contact@robbyzambito.me>2022-01-21 20:00:28 -0500
commit42a6b86d27751b3dec95dd64b4996ea13ad58a10 (patch)
treeb2b79175d89e589fab3f4dbdb5d63199dc79fc55 /include
parent560016b243bc52f721153272a3809f6271215a25 (diff)
Added Scheme procedure to easily get the other player
Diffstat (limited to 'include')
-rw-r--r--include/othello.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/othello.h b/include/othello.h
index 88b8be2..0a20965 100644
--- a/include/othello.h
+++ b/include/othello.h
@@ -43,6 +43,9 @@ enum player_color game_loop(char *player_one_strategy,
// Returns the color of the player whose turn it is.
enum player_color get_current_player(void);
SCM scm_get_current_player(void);
+SCM scm_get_other_player(void);
+
+SCM scm_player_from_c_player(enum player_color player);
enum player_color scm_player_to_c_player(SCM player);