Removing the states
This commit is contained in:
parent
ec04c82d9b
commit
fe8e46b88c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user