gameSessionState.ts 316 B

1234567891011
  1. export type GameSessionStatus = 'idle' | 'running' | 'finished' | 'failed'
  2. export interface GameSessionState {
  3. status: GameSessionStatus
  4. startedAt: number | null
  5. endedAt: number | null
  6. completedControlIds: string[]
  7. currentTargetControlId: string | null
  8. inRangeControlId: string | null
  9. score: number
  10. }