From fe8e46b88c0d0f517bf0d8d1e88df3be72a2472e Mon Sep 17 00:00:00 2001 From: Daniel Weber Date: Sat, 14 Sep 2024 15:42:35 -0400 Subject: [PATCH] Removing the states --- src/game_logic/chess_board.h | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/game_logic/chess_board.h b/src/game_logic/chess_board.h index a9b776c..75727f9 100644 --- a/src/game_logic/chess_board.h +++ b/src/game_logic/chess_board.h @@ -27,35 +27,6 @@ enum Board_States_t { #define QUEEN_BLACK 11u #define SQUARE_EMPTY 12u - -// enum Game_State_t { -// GAME_STATE_P1_TURN_BEGINING = 0u, -// GAME_STATE_P1_TURN_IN_PROGRESS, -// GAME_STATE_P1_TURN_TAKING, -// GAME_STATE_P2_TURN_BEGINING, -// GAME_STATE_P2_TURN_IN_PROGRESS, -// GAME_STATE_P2_TURN_TAKING, -// GAME_STATE_ERROR_DETECTED, -// //All games states from over on, correspond to states of the game being over -// GAME_STATE_OVER, -// GAME_STATE_OVER_WHITE_WIN, -// GAME_STATE_OVER_BLACK_WIN, -// GAME_STATE_OVER_STALE_MATE, -// }; -#define GAME_STATE_IDLE 0u -#define GAME_STATE_P1_TURN_BEGINING 1u -#define GAME_STATE_P1_TURN_IN_PROGRESS 2u -#define GAME_STATE_P1_TURN_TAKING 3u -#define GAME_STATE_P2_TURN_BEGINING 4u -#define GAME_STATE_P2_TURN_IN_PROGRESS 5u -#define GAME_STATE_P2_TURN_TAKING 6u -#define GAME_STATE_ERROR_DETECTED 7u -//All games states from over on, correspond to states of the game being over -#define GAME_STATE_OVER 8u -#define GAME_STATE_OVER_WHITE_WIN 8u -#define GAME_STATE_OVER_BLACK_WIN 9u -#define GAME_STATE_OVER_STALE_MATE 10u - #define WHITE_TURN true #define BLACK_TURN false