Skip to content

KSBMR/ston

Repository files navigation

Stone Paper Scissors Game

A classic "Rock Paper Scissors" (renamed to Stone Paper Scissors) web-based game featuring smooth animations, score tracking, and a clean dark-themed UI.

🚀 Features

  • Interactive UI: Clean, dark mode interface using Poppins typography.
  • Animations: Custom "shake" animations to simulate the hand movement before revealing choices.
  • Real-time Scoring: Automatically tracks points for both the Player and the Computer.
  • Responsive Logic: JavaScript-driven game logic that determines winners and updates image assets dynamically.

🛠️ Tech Stack

  • HTML5: Structured the game layout.
  • CSS3: Custom animations (@keyframes) and Flexbox for layout.
  • JavaScript (Vanilla): DOM manipulation, event listeners, and game logic.

📁 File Structure

  • index.html: The main entry point and game structure.
  • style.css: All styling and shaking animations.
  • script.js: Game logic and score management.
  • *.png: Image assets for Stone, Paper, and Scissors for both Player and Computer.

🎮 How to Play

  1. Open index.html in your browser.
  2. Select one of the three options: Stone, Paper, or Scissors.
  3. Wait for the "shake" animation to finish.
  4. The winner of the round will be awarded a point, which is updated in the score tally.

🔧 Installation

Simply clone the repository and open the index.html file in any modern web browser.

git clone [https://github.com/KSBMR/ston.git](https://github.com/KSBMR/ston.git)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors