Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ComputerPlayer

Hierarchy

Implements

Index

Constructors

constructor

Properties

difficulty

difficulty: Difficulty

id

id: string

name

name: string

score

score: number = 0

Methods

getHand

getIndex

  • getIndex(): string

setDifficulty

setHand

  • setHand(hand: IHand): this

toString

  • toString(): string

updateScore

  • updateScore(score: number): this

Static Create

Generated using TypeDoc