From 567db82c8988932fe27e695e6dbf0e3e7b1c020a Mon Sep 17 00:00:00 2001 From: tslil Date: Thu, 31 Dec 2020 20:07:21 -0500 Subject: Fixed road DFS errors --- include/tak.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/tak.h') diff --git a/include/tak.h b/include/tak.h index 0a6fcf1..6773bcd 100644 --- a/include/tak.h +++ b/include/tak.h @@ -26,10 +26,10 @@ 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; +uint8_t white_flats, black_flats, white_caps, black_caps, ply; void reset_state(const uint8_t new_board_size); -void next_turn(void); +void next_ply(void); enum E_RESULT try_place(const int8_t location, const enum COLOUR colour, -- cgit v1.3.1