From 0a3b2d825077b5e6c5f1cf4a0dcb13fdfffc0be6 Mon Sep 17 00:00:00 2001 From: tslil Date: Tue, 29 Dec 2020 22:48:53 -0500 Subject: Working on the big wrapper for everything --- include/ptn.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/ptn.h') diff --git a/include/ptn.h b/include/ptn.h index 0baed01..fd154f9 100644 --- a/include/ptn.h +++ b/include/ptn.h @@ -1,13 +1,14 @@ #include #include "enums.h" -enum PTN_PARSE_RESULT { PTN_VALID, PTN_INVALID }; +uint8_t +likely_move(char *ptn); -enum PTN_PARSE_RESULT +enum E_RESULT parse_place(const uint8_t board_size, char *ptn, uint8_t *out_location, enum STONE_VARIANT *out_stone); -enum PTN_PARSE_RESULT +enum E_RESULT parse_move(const uint8_t board_size, char *ptn, uint8_t *out_location, enum MOVE_DIRECTION *out_direction, uint8_t *out_steps, uint8_t out_drops[5]); -- cgit v1.3.1