From 2c803562d153b53a2c1f983af5e8ee68422cbfdb Mon Sep 17 00:00:00 2001 From: eug-vs Date: Tue, 29 Mar 2022 03:21:13 +0300 Subject: feat: add structure traversal --- src/board.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/board.h') diff --git a/src/board.h b/src/board.h index f5d2da3..924c226 100644 --- a/src/board.h +++ b/src/board.h @@ -23,3 +23,8 @@ int is_allowed_placement(char* tile, int position, char* board); int is_center_position(int position); int place_tile(char* tile, int position, char* board); + +// Structures +void traverse_structure(char id, int byte, char* board, char* structures); + +void create_structure_mask(char* board, char* structures); -- cgit v1.2.3