diff options
Diffstat (limited to 'include/ptn.h')
| -rw-r--r-- | include/ptn.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 <stdint.h> #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]); |
