All files / web/src/lib/arcade practice-approved-game-list.ts

100% Statements 20/20
100% Branches 0/0
100% Functions 0/0
100% Lines 20/20

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 211x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
/**
 * Practice-Approved Game List (Server-Safe)
 *
 * Static list of game names approved for practice breaks.
 * This module has NO dependencies on the game registry or React hooks,
 * so it can be safely imported in server-side code (API routes, etc.).
 */
 
export const PRACTICE_APPROVED_GAMES = [
  'memory-quiz', // Quick memory rounds, soroban-focused
  'complement-race', // Fast-paced complement practice
  'card-sorting', // Single-player sorting challenge
  'matching', // Can be played solo, pairs matching
  'music-matching', // Sight-reading practice, solo-friendly
  'know-your-world', // Geography quiz, single-player cooperative
  'type-racer-jr', // Typing game, single-player
  'constant-explorer', // Narrated math constant explorations (calm break)
] as const
 
export type PracticeApprovedGameName = (typeof PRACTICE_APPROVED_GAMES)[number]