diff options
| author | tslil <tslil@posteo.de> | 2020-12-30 17:16:49 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2020-12-30 17:16:49 -0500 |
| commit | c1576b7b5acf3816ccc44d9057bb4cee48dba331 (patch) | |
| tree | 89f12eb812a66ce807eaca910c92d6b0cae5654d /include/state.h | |
| parent | efad4b375574f6cdfffbb79f193cb2bef8c901be (diff) | |
OBOEs in try_move + logic errors
- Corrected use of static
- Implemented next_turn
Diffstat (limited to 'include/state.h')
| -rw-r--r-- | include/state.h | 10 |
1 files changed, 5 insertions, 5 deletions
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); |
