Options
All
  • Public
  • Public/Protected
  • All
Menu

Class State

Games State holder Used to track the state across multiple games between two players

Hierarchy

  • State

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

games

games: number

ties

ties: number

timeouts

timeouts: Array<number>

times

times: Array<number>

wins

wins: Array<number>

Methods

getStats

printState

  • printState(): void
  • Prints the current state to the console

    Returns void

Generated using TypeDoc