From aeaed8da4ee5e58660223bec2d28aacd0cf8276a Mon Sep 17 00:00:00 2001 From: tslil Date: Wed, 30 Dec 2020 17:16:49 -0500 Subject: OBOEs in try_move + logic errors - Corrected use of static - Implemented next_turn --- include/state.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/state.h') diff --git a/include/state.h b/include/state.h index 218bf71..4f0528c 100644 --- a/include/state.h +++ b/include/state.h @@ -4,11 +4,11 @@ typedef uint16_t colour_stack_t; typedef uint8_t data_t; -static uint8_t board_size; -static data_t celldat[36]; -static colour_stack_t colours[36]; -static enum COLOUR current_colour; -static uint8_t white_flats, black_flats, white_caps, black_caps, turn; +uint8_t board_size; +data_t celldat[36]; +colour_stack_t colours[36]; +enum COLOUR current_colour; +uint8_t white_flats, black_flats, white_caps, black_caps, turn; void reset_state(const uint8_t new_board_size); void next_turn(void); -- cgit v1.3.1