Skip to main content

Reaction Game Demo

Test your reflexes with this interactive game featuring statistics and history

About This Demo

This reaction game demonstrates timing and state management:

  • Game State - Managing multiple game phases with signals
  • Timers - Using effects to track reaction times
  • Statistics - Computed averages and best times
  • History - Reactive lists showing attempt history
  • Conditional Rendering - Different UI for each game phase

The game uses signals to track game state, reaction times, and attempt history. Computed values calculate statistics like average reaction time and best attempt.