Skip to content

AbhishekRDJ/Reaction-Speed-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Reaction Speed

Reaction Speed Game Logo

Watch Demo Video

Test your reflexes in this fast-paced, addictive browser game!

Live Demo React Vite TailwindCSS Framer Motion


๐ŸŽฎ Live Demo

๐ŸŒ Play the Game Now on website!

๐ŸŒ Play the Game Now on mobile!

๐Ÿ“น Demo Video

๐Ÿ“บ Watch 60-Second Gameplay Video


โœจ Features

๐ŸŽฏ Core Gameplay

  • โšก Fast-Paced Action - Click targets before they disappear!
  • ๐Ÿ“ˆ Dynamic Difficulty - Game speeds up as your score increases
  • โฑ๏ธ Timer System - Race against the countdown timer
  • ๐Ÿ”ฅ Combo Streaks - Bonus points for consecutive quick hits
  • ๐ŸŽŠ Smooth Animations - Buttery smooth target spawning and effects

๐ŸŽจ Visual Experience

  • โœจ Particle Effects - Eye-catching animations on target hits
  • ๐Ÿ’ซ Hover Glow Effects - Interactive visual feedback
  • ๐ŸŒˆ Gradient Backgrounds - Beautiful animated gradient themes
  • ๐Ÿ“ฑ Responsive Design - Perfect on mobile, tablet, and desktop

๐Ÿ“Š Progress Tracking

  • ๐Ÿ† Score System - Track current score and personal best
  • ๐Ÿ’พ LocalStorage Persistence - Your best scores are saved locally
  • ๐Ÿ“‹ Mock Leaderboard - Compare with sample high scores
  • ๐ŸŽฎ Game Controls - Start, Pause, Resume, and Restart functionality

๐Ÿ› ๏ธ Tech Stack

Technology Purpose Version
โš›๏ธ React Frontend Framework ^18.2.0
โšก Vite Build Tool & Dev Server ^4.4.0
๐ŸŽจ TailwindCSS Utility-First Styling ^3.3.0
๐ŸŽญ Framer Motion Animation Library ^10.16.0
๐Ÿ’พ LocalStorage Data Persistence Native Web API
๐Ÿ“ฑ Responsive Design Mobile-First Approach CSS Grid & Flexbox

๐Ÿš€ Installation & Setup

Prerequisites

  • Node.js (v16.0.0 or higher)
  • npm or yarn package manager

Clone & Install

# Clone the repository
git clone https://github.com/yourusername/reaction-speed-game.git

# Navigate to project directory
cd reaction-speed-game

# Install dependencies
npm install
# or
yarn install

Development Server

# Start development server
npm run dev
# or
yarn dev

# Open browser to http://localhost:5173

Build for Production

# Create production build
npm run build
# or
yarn build

# Preview production build locally
npm run preview
# or
yarn preview

๐ŸŽฏ How to Play

๐Ÿ•น๏ธ Game Controls

  1. ๐Ÿš€ Start Game - Click "Start Game" to begin
  2. ๐ŸŽฏ Click Targets - Hit the glowing targets before they disappear
  3. โธ๏ธ Pause/Resume - Use pause button to take breaks
  4. ๐Ÿ”„ Restart - Reset your current game anytime

๐Ÿ“ Game Rules

  • ๐ŸŽฏ Target Clicking: Click on targets as quickly as possible
  • โฐ Time Limit: You have limited time before targets disappear
  • ๐Ÿ“ˆ Difficulty Scaling: Game gets faster as your score increases
  • ๐Ÿ”ฅ Combo System: Hit multiple targets quickly for bonus points
  • ๐Ÿ’” Life System: Miss too many targets and it's game over!

๐Ÿ† Scoring System

  • ๐ŸŽฏ Basic Hit: 10 points per target
  • ๐Ÿ”ฅ Combo Bonus: +5 points per consecutive hit
  • โšก Speed Bonus: Extra points for lightning-fast reactions
  • ๐Ÿ… Best Score: Automatically saved to your browser

๐Ÿ“ธ Screenshots

๐ŸŽฎ Game Interface

Game Interface

๐Ÿ“Š live Side Score Dashboard

Score Dashboard

๐Ÿ“Š All Score Dashboard

Score Dashboard

๐Ÿ“ฑ Mobile Experience

Mobile View Mobile View


๐Ÿ“‹ Leaderboard System

The game currently features a mock leaderboard with sample data to demonstrate the UI and functionality.

๐Ÿ”ง Current Implementation

  • ๐Ÿ“Š JSON-based data - Static sample scores for demonstration
  • ๐ŸŽจ Professional UI - Clean, responsive leaderboard design
  • ๐Ÿ“ฑ Mobile-friendly - Optimized for all screen sizes

๐Ÿš€ Future Plans

  • ๐ŸŒ Real-time database integration (Firebase/Supabase)
  • ๐Ÿ‘ค User authentication system
  • ๐Ÿ† Global rankings with real player data
  • ๐Ÿ“ˆ Statistical analysis and player profiles

โš ๏ธ Known Issues & Limitations

๐Ÿ› Current Issues

  • ๐Ÿ“ฑ Touch Sensitivity: Some mobile devices may have slight touch delay
  • ๐Ÿ”Š No Audio: Sound effects not yet implemented
  • ๐ŸŒ Offline Mode: Requires internet connection for optimal performance

๐Ÿ“ Technical Limitations

  • ๐Ÿ’พ Local Storage Only: Scores stored locally (browser-specific)
  • ๐ŸŽฎ Single Player: No multiplayer functionality yet
  • ๐Ÿ“Š Mock Data: Leaderboard uses sample data

๐Ÿšง Future Improvements

๐ŸŽต Audio & Effects

  • ๐Ÿ”Š Sound Effects - Hit sounds, background music, UI audio
  • ๐ŸŽถ Dynamic Soundtrack - Music that adapts to game intensity
  • ๐Ÿ”‡ Audio Controls - Volume sliders and mute options

๐ŸŽฏ Gameplay Features

  • ๐ŸŽจ Multiple Shapes - Circles, squares, triangles with different point values
  • ๐ŸŒˆ Color Themes - Customizable visual themes
  • ๐ŸŽฎ Game Modes - Endless, Time Attack, Survival modes
  • โšก Power-ups - Slow motion, double points, extra time

๐ŸŒ Social Features

  • ๐Ÿ‘ฅ Multiplayer Mode - Real-time competitive gameplay
  • ๐Ÿ† Global Leaderboards - Worldwide ranking system
  • ๐Ÿค Social Sharing - Share scores on social media
  • ๐Ÿ‘ค User Profiles - Account system with statistics

๐Ÿ“Š Analytics & Stats

  • ๐Ÿ“ˆ Detailed Statistics - Reaction time analysis, accuracy metrics
  • ๐Ÿ“‹ Achievement System - Unlockable badges and rewards
  • ๐Ÿ“Š Progress Tracking - Historical performance data

๐Ÿค Contributing

We welcome contributions from the community! Here's how you can help:

๐Ÿ› ๏ธ Development Setup

  1. ๐Ÿด Fork the repository
  2. ๐Ÿ“ฅ Clone your fork locally
  3. ๐ŸŒฟ Create a feature branch: git checkout -b feature/amazing-feature
  4. ๐Ÿ’ป Code your improvements
  5. โœ… Test thoroughly
  6. ๐Ÿ“ Commit with clear messages: git commit -m 'Add amazing feature'
  7. ๐Ÿ“ค Push to your branch: git push origin feature/amazing-feature
  8. ๐Ÿ“ฌ Submit a Pull Request

๐Ÿ“‹ Contribution Guidelines

  • ๐Ÿงน Code Quality: Follow existing code style and conventions
  • ๐Ÿ“– Documentation: Update README and code comments as needed
  • ๐Ÿงช Testing: Ensure all features work across different devices
  • ๐Ÿ“ฑ Responsiveness: Test on mobile, tablet, and desktop
  • โ™ฟ Accessibility: Consider accessibility in new features

๐Ÿ› Bug Reports

Found a bug? Please create an issue with:

  • ๐Ÿ“ Clear description of the problem
  • ๐Ÿ”„ Steps to reproduce the issue
  • ๐Ÿ–ฅ๏ธ Browser/device information
  • ๐Ÿ“ธ Screenshots if applicable

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ“‹ MIT License Summary

MIT License - Copyright (c) 2024 Reaction Speed Game

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software.

๐Ÿ‘จโ€๐Ÿ’ป Author

Your Name


๐Ÿ™ Acknowledgments

  • โš›๏ธ React Team - For the amazing framework
  • ๐ŸŽจ TailwindCSS - For the utility-first CSS framework
  • ๐ŸŽญ Framer Motion - For smooth, powerful animations
  • โšก Vite Team - For the lightning-fast build tool
  • ๐ŸŽฎ Game Design Inspiration - Classic reaction time games

๐Ÿ“Š Project Stats

GitHub repo size GitHub stars GitHub forks GitHub issues GitHub last commit


โญ Star this repo if you found it helpful! โญ

๐ŸŽฏ Play Now | ๐Ÿ“– Documentation | ๐Ÿ› Report Bug | ๐Ÿ’ก Request Feature

About

Reaction Speed Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors