- Introduction
- How to Play
- Features
- Technologies Used
- Live Demo
- Usage
- Contributing
- License
- Contact Information
Rock, Paper, Scissors is a classic hand game that has entertained generations. This project brings the timeless game to the digital world, allowing you to play against a computer opponent anytime, anywhere.
- Players: You vs. the Computer
- Rules:
- Choose your move: Rock (👊), Paper (✋), or Scissors (✌️)
- The winner is determined as follows:
- Rock crushes Scissors
- Scissors cut Paper
- Paper covers Rock
- If both players choose the same shape, it's a tie
- Gameplay:
- Click on your chosen move
- The computer's choice is generated randomly
- The winner of the round is displayed
- Score is updated after each round
- Play as many rounds as you like!
- Intuitive user interface
- Real-time score tracking
- Responsive design for desktop and mobile
- HTML5: Structure of the game interface
- CSS3: Styling and animations
- JavaScript (ES6+): Game logic and DOM manipulation
- LocalStorage: For saving game progress
Experience the game live: Rock, Paper, Scissors Game
To run this project locally:
- Clone the repository:
git clone https://github.com/amirallami-code/rock-paper-scissors-game.git
- Navigate to the project directory:
cd rock-paper-scissors-game
- Open
index.html
in your preferred web browser
- Open the game in your web browser.
- Click on your choice of Rock, Paper, or Scissors.
- View the computer's choice and the round result.
- Check the updated score.
- Play again!
We welcome contributions! If you'd like to contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature/AmazingFeature
) - Make your changes
- Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is open source and available under the MIT License.
For questions or feedback about this project, please contact:
Amirhossein Allami - amirallami.dev@gmail.com
Project Link: https://github.com/amirallami-code/rock-paper-scissors-game
We appreciate your interest in this project. If you find it helpful, consider starring the repository.