Skip to content

Ritexh5090/ROCK-PAPER-SCISSORS-GAME

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 see who wins each round!

🚀 Features

  • 🎲 Play against a computer opponent
  • ⚡ Instant game results
  • 📊 Live score tracking
  • 🎨 Responsive and modern UI
  • 💻 Built with pure HTML, CSS, and JavaScript
  • 🔄 Play unlimited rounds

🛠️ Technologies Used

  • HTML5 – Structure
  • CSS3 – Styling and layout
  • JavaScript (ES6) – Game logic and interactivity

📂 Project Structure

rock-paper-scissors/
│
├── index.html      # Main HTML file
├── style.css       # Stylesheet
├── script.js       # Game logic
└── README.md       # Project documentation

🎯 How to Play

  1. Open the game in your browser.
  2. Choose one of the following:
    • ✊ Rock
    • ✋ Paper
    • ✌️ Scissors
  3. The computer will randomly select its choice.
  4. The winner is determined using the standard rules:
    • Rock beats Scissors
    • Scissors beats Paper
    • Paper beats Rock
  5. Scores are updated after each round.

📥 Installation

  1. Clone the repository:
git clone https://github.com/your-username/rock-paper-scissors.git
  1. Navigate to the project folder:
cd rock-paper-scissors
  1. Open index.html in your preferred web browser.

No additional dependencies or installations are required.

📸 Screenshot

Add a screenshot of your project here.

assets/screenshot.png

Example:

![Game Screenshot](assets/screenshot.png)

🌟 Future Improvements

  • Add sound effects
  • Dark/Light mode
  • Best of 3 / Best of 5 mode
  • Game animations
  • Difficulty levels
  • Multiplayer mode
  • Local storage for high scores

🤝 Contributing

Contributions are welcome!

  1. Fork the repository
  2. Create a new branch
git checkout -b feature-name
  1. Commit your changes
git commit -m "Add new feature"
  1. Push to your branch
git push origin feature-name
  1. Open a Pull Request

📜 License

This project is licensed under the MIT License.

👨‍💻 Author

Ritesh Jagtap

GitHub: https://github.com/Ritexh5090


⭐ If you like this project, consider giving it a star on GitHub!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages