Skip to content

adittya-code/Rock-Paper-Scissors-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🪨📄✂️ Rock Paper Scissors Game

A fun and interactive Rock Paper Scissors game built using HTML, CSS, and JavaScript.
Play against the computer, track your score, and enjoy sound effects with the option to turn them on or off.

🔗 Live Demo: https://adittya-code.github.io/Rock-Paper-Scissors-Game/

🚀 Features

  1. 🎮 Play Rock, Paper, or Scissors against the computer
  2. 🤖 Random computer choice logic
  3. 📊 Live score tracking (User vs Computer)
  4. 🔊 Sound effects for:
  • Click
  • Win
  • Lose
  1. 🔇 Sound ON / OFF toggle button
  2. 🎨 Simple, clean, and responsive UI
  3. 🟢 Visual feedback for win, lose, and draw states

🧠 Game Rules

Rock beats Scissors Scissors beats Paper Paper beats Rock Same choices result in a Draw

🛠️ Technologies Used

  1. HTML5 – Structure of the game
  2. CSS3 – Styling and layout
  3. JavaScript (Vanilla JS) – Game logic and interactivity

🔊 Sound Control

Click the Sound Off / Sound On button to mute or enable game sounds anytime.

📁 Rock-Paper-Scissors │ ├── index.html # Main HTML file ├── style.css # Game styling ├── script.js # Game logic │ ├── rock.png # Rock image ├── paper.png # Paper image ├── scissors.png # Scissors image │ ├── click.mp3 # Click sound effect ├── win.wav # Win sound effect ├── lose.mp3 # Lose sound effect │ └── README.md # Project documentation

📌 Future Improvements

  1. Reset score button
  2. Mobile-first UI improvements
  3. Multiplayer mode
  4. Animation effects

⭐ If you like this project, feel free to star the repository!

About

A simple and interactive web-based game built using HTML, CSS, and JavaScript, featuring score tracking, sound effects, and a clean UI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors