A simple and interactive Rock Paper Scissors game built using HTML, CSS, and JavaScript. Play against the computer and track scores in real time.
- 🪨 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
- HTML — Structure
- CSS — Styling & layout
- JavaScript — Game logic
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
- Clone the repository
git clone https://github.com/hrshjswniii/Basic-Rock-Paper-Scissors-game- Navigate into the project folder
cd repo-name- Open
index.htmlin your browser
👉 Or simply double-click the file.
- Click on Rock, Paper, or Scissors
- Computer will randomly select its move
- Result is displayed instantly
- Scores update automatically
- 🔊 Sound effects
- 🧠 Smarter AI opponent
- 📱 Mobile responsiveness
- 🎨 Animations
- 🏆 Best-of-N rounds mode
Contributions, issues, and feature requests are welcome!
- Fork the repo
- Create a new branch
- Make your changes
- Submit a Pull Request
This project is open source and available under the MIT License.