Skip to content

Chethan-Regala/rock_paper_scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎮 Rock Paper Scissors: Battle Arena

A next-generation Rock Paper Scissors game with stunning visuals and immersive gameplay that rivals urban legend car games in terms of graphics quality and user experience.

🌟 Overview

Transform the classic Rock Paper Scissors game into an epic battle arena experience! This isn't your ordinary web game - it features cutting-edge CSS animations, particle effects, 3D transforms, and a cyberpunk aesthetic that delivers console-quality visuals right in your browser.

✨ Features

🎨 Visual Excellence

  • Cyberpunk Neon Aesthetic: Dark theme with cyan and magenta glow effects
  • 3D Battle Arena: Immersive 3D transforms and perspective effects
  • Particle System: Dynamic floating particles for atmospheric immersion
  • Animated Grid Overlay: Moving grid patterns like premium racing games
  • Lightning Effects: Energy fields and battle animations between hands
  • Responsive Design: Seamless experience across desktop, tablet, and mobile

Advanced Animations

  • Dramatic Countdown: 3-2-1-BATTLE sequence with pulsing effects
  • Hand Gesture Animations: Realistic hand movements and reveals
  • Battle Shake Effects: Screen tremors during intense moments
  • Victory/Defeat Sequences: Epic end-game animations with particle bursts
  • Smooth Transitions: Fluid state changes and hover effects

🎯 Enhanced Gameplay

  • 5-Round Tournament: Best of 5 battles for ultimate victory
  • Real-time Score Tracking: Animated scoreboard with glowing effects
  • AI Opponent: Intelligent computer player with personality
  • Visual Feedback: Clear choice indicators and result displays
  • Professional Polish: Loading states, disabled buttons, smooth UX

🎵 Immersive Experience

  • Futuristic Fonts: Orbitron and Rajdhani typography
  • Dynamic Backgrounds: Shifting gradients and animated elements
  • Glowing Avatars: Player and AI representations with pulse effects
  • Interactive Buttons: 3D hover effects with particle trails
  • Battle Effects: Custom animations for wins, losses, and ties

🚀 Quick Start

Prerequisites

  • Modern web browser (Chrome, Firefox, Safari, Edge)
  • No additional installations required!

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/rock_paper_scissors.git
    cd rock_paper_scissors
  2. Launch the game

    # Simply open index.html in your browser
    open index.html
    # or
    double-click index.html
  3. Start battling!

    • Choose your weapon: Rock, Paper, or Scissors
    • Watch the epic battle unfold
    • Defeat the AI in 5 intense rounds

🎮 How to Play

  1. Enter the Arena: The game loads with a stunning cyberpunk interface
  2. Choose Your Weapon: Click on Rock (✊), Paper (✋), or Scissors (✌️)
  3. Battle Sequence: Watch the dramatic countdown and hand reveals
  4. Victory Conditions:
    • 🪨 Rock crushes Scissors
    • 📄 Paper covers Rock
    • ✂️ Scissors cuts Paper
  5. Win the Tournament: First to win 3 out of 5 rounds claims victory!

🛠️ Technical Details

Technologies Used

  • HTML5: Semantic structure and accessibility
  • CSS3: Advanced animations, 3D transforms, and visual effects
  • JavaScript ES6+: Modern class-based architecture and async/await
  • Google Fonts: Orbitron and Rajdhani for futuristic typography

Key Components

  • BattleArena Class: Main game controller with advanced state management
  • Particle System: Dynamic particle generation and cleanup
  • Animation Engine: Smooth transitions and battle sequences
  • Responsive Grid: Mobile-first design with breakpoints
  • Effect System: Visual feedback and battle animations

Performance Features

  • Optimized Animations: Hardware-accelerated CSS transforms
  • Memory Management: Automatic particle cleanup and DOM optimization
  • Smooth 60fps: Efficient animation loops and requestAnimationFrame
  • Cross-browser Compatibility: Tested on all major browsers

Releases

No releases published

Packages

 
 
 

Contributors