Global

Members

# BoardUiState

BoardUiState represent the different ui states that the board can be refreshed to

View Source core/BoardUiState.ts, line 25

# MoveDirection

Move direction: Only clockwise and anti-clockwise moves are allowed when the player is executing a move. Each hole has a move status during gameplay. If both Clockwise and anti-clockwise moves can be performed, the status is marked as Both. Holes with no valid moves are marked as locked. Holes that do not belong to the current player are marked as Unauthorized.

The direction in which a move can be made.

Note: When executing moves, only MoveDirection#Clockwise and MoveDirection#AntiClockwise are valid values. Each Hole has a move status during gameplay, if both Clockwise and anti-clockwise moves can be performed, the status is marked as MoveDirection#Both. Holes with no valid moves are marked as MoveDirection#Locked. Holes that do not belong to the current player are marked as MoveDirection#Unathorised.

View Source core/MoveDirection.ts, line 48

# PlayerSide

PlayerSide represent the sides that a player can be on the board

View Source core/PlayerSide.ts, line 25