An interactive web application to measure your reaction time. Test your reflexes and compete against your own records.
- Intuitive interface with color transitions
- State system: wait (red) → react (green)
- Early click detection
- Real-time statistics panel
- Data persistence: Your stats are automatically saved in localStorage
- Personalized messages based on your performance
- Responsive and modern design
- Iconify icons
- GitHub stars counter: Shows repository stars in real-time
- Direct link to the repository from the interface
- Mobile touch support
- Keyboard support (spacebar)
- PWA ready with dynamic theme colors
- React - UI Framework
- Vite - Build tool and dev server
- Tailwind CSS - Styling
- Lucide React - Main icons
- Iconify - Icon library
Clone the repository:
git clone https://github.com/Anghios/reaction.git
cd reactionInstall dependencies:
npm installTo run the application in development mode:
npm run devThe application will be available at http://localhost:5173
To build the application:
npm run buildThis will generate a /dist folder with optimized files ready for production.
Upload the contents of the generated /dist folder to your hosting or web server.
- Click on the screen to start
- Wait for the background to turn green (don't click on red!)
- Click or press spacebar as fast as possible when you see green
- Check your statistics and try to beat your record
- Under 200ms: Amazing! Ninja reflexes
- 200-250ms: Excellent! Very fast
- 250-300ms: Well done! Good time
- 300-400ms: Not bad, you can improve
- Over 400ms: A bit slow, try again
MIT