summaryrefslogtreecommitdiff
path: root/web/web_match.h
diff options
context:
space:
mode:
Diffstat (limited to 'web/web_match.h')
-rw-r--r--web/web_match.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/web/web_match.h b/web/web_match.h
index 8f106fb..ae5eff0 100644
--- a/web/web_match.h
+++ b/web/web_match.h
@@ -32,10 +32,15 @@ extern struct match_opts *match_opts;
void free_state();
void match_opts_free();
+struct leg *state_active_leg();
+
int match_num_players();
int match_winning_player();
bool match_is_over();
-
-struct leg *state_active_leg();
+int match_prev_player();
+int match_next_player();
+int match_prev_throw_player();
+bool match_player_is_comp(int pn);
+bool match_first_user_has_thrown();
#endif