A modern, interactive web-based Rock Paper Scissors game with enhanced features and a beautiful user interface.
- 🎯 Multiple Game Modes
- Best of 3
- Best of 5
- 🎨 Theme Support
- Dark/Light mode toggle
- Persistent theme preference
- 🎮 Gameplay Features
- Animated choices and feedback
- Sound effects for wins, losses, and draws
- Keyboard shortcuts (R, P, S)
- Move history tracking
- 📊 Statistics
- Win rate calculation
- Streak counter
- Best streak record
- Total games played
- 🎯 User Experience
- Responsive design for all devices
- Tooltips for game rules
- Interactive animations
- Clear game feedback
- HTML5
- CSS3 (with CSS Variables)
- JavaScript (ES6+)
- Font Awesome Icons
- Local Storage API
- Choose your game mode (Best of 3 or Best of 5)
- Make your move by either:
- Clicking on Rock, Paper, or Scissors
- Using keyboard shortcuts:
Rfor RockPfor PaperSfor Scissors
- Watch the animations and listen for sound feedback
- Track your progress in the statistics panel
- Toggle between dark and light themes as preferred
-
Clone the repository:
git clone https://github.com/HexCrystal69/RPS_Ver2.git
-
Navigate to the project directory:
cd rock-paper-scissors -
Open
index.htmlin your web browser
The game is fully responsive and works on:
- Desktop computers
- Tablets
- Mobile phones
The game uses CSS variables for easy customization. You can modify the colors in the :root section of styles.css:
:root {
--primary-color: #081b31;
--secondary-color: #2c3e50;
--accent-color: #3498db;
--success-color: #2ecc71;
--danger-color: #e74c3c;
--text-color: #ecf0f1;
}