Class

Player

Player(side, board)

Player represents a bawo game player

Constructor

# new Player(side, board)

constructor
Parameters:
Name Type Description
side PlayerSide the side on which the player is on the board
board Board the board on which the player is

View Source core/Player.ts, line 29

Classes

Player

Methods

# isOnTopSide() → {boolean}

Checks to see if the current player is positioned on the top side of the board.

View Source core/Player.ts, line 96

true if the player is on the top side.
boolean