Class

AppConstants

AppConstants()

Immutable values that are used throughout bawo.zone application. AppConstants keeps track of both values used by the backend logic and the game GUI.

Constructor

# new AppConstants()

View Source core/AppConstants.ts, line 28

Members

# static DUMMY_HOLE_ID

This id identifies the dummy hole (pointer). See PlayerBoardHoles

View Source core/AppConstants.ts, line 155

# static HOLE_AVAILABLE_UI

Hole UI - Available

View Source core/AppConstants.ts, line 175

# static HOLE_BLOCKED_UI

Hole UI - Blocked

View Source core/AppConstants.ts, line 180

# static HOLE_SLEEPING_UI

Hole UI - Sleeping

View Source core/AppConstants.ts, line 170

# static HOLE_START_UI

Hole UI - Start

View Source core/AppConstants.ts, line 185

# static HOLE_UI

Hole UI

View Source core/AppConstants.ts, line 165

number

# static INFINITE_LOOP_THRESHOLD

The amount of moves that a player is allowed to make during a game play. If they go beyond this count, they are regarded to be in infinite state and have lost the game.

View Source core/AppConstants.ts, line 150

number

# static MAX_HOLE_ID

Maximum Hole ID.

View Source core/AppConstants.ts, line 135

number

# static MAX_SEED_COUNT

Maximum number of seeds that can be used to play the bawo game.

View Source core/AppConstants.ts, line 120

number

# static MIN_HOLE_ID

Minimum Hole ID. Note that DUMMY_HOLE_ID is not a Hole that is used during game play.

View Source core/AppConstants.ts, line 142

# static MOVE_END

Move end - audio

View Source core/AppConstants.ts, line 205

number

# static NUM_PLAYER_HOLES

Number of holes that a bawo game Player gets. This represents two rows of holes - each row with 8 holes. These two rows are represented by BawoCircularDoublyLinkedList - a circular linked list with 16 holes (nodes).

View Source core/AppConstants.ts, line 129

# static NYUMBA_HOLE_ID

Nyumba hole id

View Source core/AppConstants.ts, line 220

# static PLAYER_UI

Player UI

View Source core/AppConstants.ts, line 195

# static SEED_GRAB

Seed grab -audio

View Source core/AppConstants.ts, line 210

# static SEED_GROUP_UI

Seed Group UI

View Source core/AppConstants.ts, line 190

# static SEED_STEAL

Seed steal - audio

View Source core/AppConstants.ts, line 215

# static SEED_UI

Seed UI

View Source core/AppConstants.ts, line 160

# static SOW_NORMAL_SOUND_1

Sow normal sound - variant 1

View Source core/AppConstants.ts, line 200

# DUMMY_HOLE_ID

This id identifies the dummy hole (pointer). See PlayerBoardHoles

View Source core/AppConstants.ts, line 58

# HOLE_AVAILABLE_UI

Hole UI - Available

View Source core/AppConstants.ts, line 74

# HOLE_BLOCKED_UI

Hole UI - Blocked

View Source core/AppConstants.ts, line 78

# HOLE_SLEEPING_UI

Hole UI - Sleeping

View Source core/AppConstants.ts, line 70

# HOLE_START_UI

Hole UI - Start

View Source core/AppConstants.ts, line 82

# INFINITE_LOOP_THRESHOLD

The amount of moves that a player is allowed to make during a game play. If they go beyond this count, they are regarded to be in infinite state and have lost the game.

View Source core/AppConstants.ts, line 54

# MAX_HOLE_ID

Maximum Hole ID.

View Source core/AppConstants.ts, line 43

# MAX_SEED_COUNT

Maximum number of seeds that can be used to play the bawo game.

View Source core/AppConstants.ts, line 32

# MIN_HOLE_ID

Minimum Hole ID. Note that DUMMY_HOLE_ID is not a Hole that is used during game play.

View Source core/AppConstants.ts, line 48

# MOVE_END

Move end - audio

View Source core/AppConstants.ts, line 98

# NUM_PLAYER_HOLES

Number of holes that a bawo game Player gets. This represents two rows of holes - each row with 8 holes. These two rows are represented by BawoCircularDoublyLinkedList - a circular linked list with 16 holes (nodes).

View Source core/AppConstants.ts, line 39

# NYUMBA_HOLE_ID

Nyumba hole id

View Source core/AppConstants.ts, line 110

# PLAYER_UI

Player UI

View Source core/AppConstants.ts, line 90

# SEED_GRAB

Seed grab -audio

View Source core/AppConstants.ts, line 102

# SEED_GROUP_UI

Seed Group UI

View Source core/AppConstants.ts, line 86

# SEED_STEAL

Seed steal - audio

View Source core/AppConstants.ts, line 106

# SOW_NORMAL_SOUND_1

Sow normal sound - variant 1

View Source core/AppConstants.ts, line 94