A simple, browser‑based Rock Paper Scissors game built using HTML, CSS, and JavaScript.
This project focuses on handling player input, generating random computer choices, implementing win‑logic, and updating UI elements like score boxes and results dynamically.
##🚀 Features
- Three selectable options: Rock, Paper, Scissors
- Random computer choice
- Displays:
- Your choice
- Chitti’s (computer) choice
- Win, lose, and tie detection
- Live score tracking using square score boxes
- Reset button to restart scores and selections
- Clean and minimal UI styling
- Beginner-friendly code structure
##🧠 What I Learned
While building this project, I strengthened my understanding of:
- DOM manipulation
- Event handling in JavaScript
- Using arrays and random number logic
- Conditional game logic
- Updating UI elements dynamically
- Managing simple game state
- Structuring small frontend projects cleanly
##🛠️ Tech Stack
HTML CSS JavaScript
##
- Clone the repository:
git clone https://github.com/mohithackz/rock-paper-scissors.git
- Open the project folder in VS Code or any editor
- Open index.html in your browser
Start playing 🎉
##📌 Future Improvements
Add sound effects Add animation effects for winning choices Best‑of‑5 or Best‑of‑10 game mode Mobile‑responsive layout
##👨💻 Author Mohit Yadav