Skip to main content

Player

Player<T extends string = string>

Constructor

constructor(color: T, flank: Direction)

Properties

  • color: T
  • flank: Direction
  • state: PlayerState

Methods

  • assignScore(score: number): void