A premium, high-fidelity web application based on the original Antigravity Rock Paper Scissors logic. Experience the classic game with a modern cyberpunk aesthetic and seamless mobile-optimized gameplay.
Play it here: https://rockpaperscissorsgame-python.web.app
- Modern UI: Smooth glassmorphism design with vibrant neon gradients.
- Theme Engine: Toggle between classic Hands and modern Objects themes.
- Full Responsive: Perfectly optimized for Desktop, Tablet, and Mobile screens.
- In-App Code View: Peek behind the curtain! View the original Python game logic directly in the browser with syntax highlighting.
- Keyboard Support: Play like a pro using
R,P, andSkeys.
- Frontend: Vanilla HTML5, CSS3, JavaScript (ES6+).
- Styling: Advanced CSS Grid/Flexbox, Backdrop filters, and Keyframe animations.
- Syntax Highlighting: Prism.js for code visualization.
- Hosting: Firebase Hosting for global low-latency access.
To run the modern web interface:
- Open the
publicfolder. - Launch
index.html(recommended using a local server like "Live Server" in VS Code).
The core logic started here! To run the console version online:
Or run it on your own machine:
- Ensure you have Python installed.
- Run the main script:
python main.py
- Choose your weapon: Click the Rock, Paper, or Scissors icons (or use your keyboard).
- Wait for the Comp: Watch the animated computer fist reveal its move.
- Check the Score: Watch your score grow as you dominate the computer!
- Peep the Code: Click the
</>icon in the top right to see how it all works.
Developed with ❤️ by Kunal.