File

shared/constants/game.ts

Description

Player stats inteface

Index

Properties

Properties

boosterScore
boosterScore: number
Type : number

booster score

correctAnswers
correctAnswers: number
Type : number

number of correct answers

rounds
rounds:

per round stats

score
score: number
Type : number

score

wrongAnswers
wrongAnswers: number
Type : number

number of wrong answers

interface ReadonlyLiveGameEmptyPlayerResult {
  /** score */
  readonly score: number;
  /** booster score */
  readonly boosterScore: number;
  /** number of correct answers */
  readonly correctAnswers: number;
  /** number of wrong answers */
  readonly wrongAnswers: number;
  /** per round stats */
  readonly rounds: readonly [][];
};

/** empty player stats const */
export const LIVE_GAME_EMPTY_PLAYER_RESULT: ReadonlyLiveGameEmptyPlayerResult = {
  score: 0,
  boosterScore: 0,
  correctAnswers: 0,
  wrongAnswers: 0,
  rounds: [],
};

results matching ""

    No results matching ""