Welcome to the Rock-Paper-Scissors game! This project is a simple, fun, and interactive web-based game built using HTML, CSS, and JavaScript. Whether you're looking to pass some time or challenge your friends, this game provides a classic experience right in your browser.
Rock-Paper-Scissors is a hand game usually played between two people, where each player simultaneously forms one of three shapes with an outstretched hand. The possible outcomes are:
- Rock crushes Scissors
- Scissors cuts Paper
- Paper covers Rock
This project brings the traditional game to the digital world, allowing users to play against a computer opponent.
- Responsive Design: Play on any device, be it desktop, tablet, or mobile.
- Interactive UI: Engaging animations and sound effects to enhance the user experience.
- Score Tracking: Keeps track of wins, losses, and ties.
- Randomized Computer Moves: Ensures fair play with each game session.
To run this game locally on your machine, follow these simple steps:
- Clone the repository:
git clone https://github.com/PragaTurbo/Rock-paper-scissors.git
- *Navigate to the project directory:
cd Rock-paper-scissors
- *Open index.html in your preferred web browser:
open index.html
- Open the game in your web browser.
- Choose your move by clicking on either Rock, Paper, or Scissors.
- The computer will randomly select its move.
- The result of the game will be displayed, along with the updated score.
Enjoy the game and try to beat the computer!
- HTML5: For structuring the web content.
- CSS3: For styling and layout.
- JavaScript: For game logic and interactivity.