Skip to content

hrshjswniii/Basic-Rock-Paper-Scissors-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎮 Rock Paper Scissors Game

A simple and interactive Rock Paper Scissors game built using HTML, CSS, and JavaScript. Play against the computer and track scores in real time.

🚀 Features

  • 🪨 Rock, 📄 Paper, ✂️ Scissors choices
  • 🤖 Computer generates random moves
  • 📊 Live score tracking (User vs Computer)
  • 🎨 Visual feedback for win / loss / draw
  • ⚡ Lightweight — no external libraries required

🛠️ Tech Stack

  • HTML — Structure
  • CSS — Styling & layout
  • JavaScript — Game logic

📁 Project Structure

Rock-Paper-Scissors/
│
├── index.html      # Main HTML file
├── RPS.css         # Styling
├── RPS.js          # Game logic
│
├── rock.png        # Rock icon
├── paper.png       # Paper icon
└── scissors.png    # Scissors icon
│
└── README.md       # Project documentation

▶️ How to Run Locally

  1. Clone the repository
git clone https://github.com/hrshjswniii/Basic-Rock-Paper-Scissors-game
  1. Navigate into the project folder
cd repo-name
  1. Open index.html in your browser

👉 Or simply double-click the file.

🎯 How to Play

  1. Click on Rock, Paper, or Scissors
  2. Computer will randomly select its move
  3. Result is displayed instantly
  4. Scores update automatically

🌟 Future Improvements (Ideas)

  • 🔊 Sound effects
  • 🧠 Smarter AI opponent
  • 📱 Mobile responsiveness
  • 🎨 Animations
  • 🏆 Best-of-N rounds mode

🤝 Contributing

Contributions, issues, and feature requests are welcome!

  1. Fork the repo
  2. Create a new branch
  3. Make your changes
  4. Submit a Pull Request

📄 License

This project is open source and available under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors