https://github.com/amirallami-code/rock-paper-scissors-game
Rock, Paper, Scissors is a classic hand game that has been played for generations. It's a simple yet entertaining way to make quick decisions or settle disputes.
https://github.com/amirallami-code/rock-paper-scissors-game
game javascript js rock-paper-scissors
Last synced: 4 days ago
JSON representation
Rock, Paper, Scissors is a classic hand game that has been played for generations. It's a simple yet entertaining way to make quick decisions or settle disputes.
- Host: GitHub
- URL: https://github.com/amirallami-code/rock-paper-scissors-game
- Owner: amirallami-code
- License: mit
- Created: 2023-08-25T16:26:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-23T15:33:45.000Z (10 months ago)
- Last Synced: 2026-04-11T04:38:56.633Z (4 days ago)
- Topics: game, javascript, js, rock-paper-scissors
- Language: CSS
- Homepage: https://rpsgame-amirallami.vercel.app
- Size: 131 KB
- Stars: 28
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rock, Paper, Scissors Game

[](https://opensource.org/licenses/MIT)

[](https://github.com/amirallami-code/binary-search-algorithm/)


## Table of Contents
- [Introduction](#introduction)
- [How to Play](#how-to-play)
- [Features](#features)
- [Technologies Used](#technologies-used)
- [Live Demo](#live-demo)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [Contact Information](#contact-information)
## Introduction
**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.
## How to Play
1. **Players**: You vs. the Computer
2. **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
3. **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!
## Features
- Intuitive user interface
- Real-time score tracking
- Responsive design for desktop and mobile
## Technologies Used
- **HTML5**: Structure of the game interface
- **CSS3**: Styling and animations
- **JavaScript (ES6+)**: Game logic and DOM manipulation
- **LocalStorage**: For saving game progress
## Live Demo
Experience the game live: [Rock, Paper, Scissors Game](https://rpsgame-amirallami.vercel.app)
## Installation
To run this project locally:
1. Clone the repository:
```bash
git clone https://github.com/amirallami-code/rock-paper-scissors-game.git
```
2. Navigate to the project directory:
```bash
cd rock-paper-scissors-game
```
3. Open `index.html` in your preferred web browser
## Usage
1. Open the game in your web browser.
2. Click on your choice of Rock, Paper, or Scissors.
3. View the computer's choice and the round result.
4. Check the updated score.
5. Play again!
## Contributing
We welcome contributions! If you'd like to contribute:
1. Fork the repository
2. Create a new branch (`git checkout -b feature/AmazingFeature`)
3. Make your changes
4. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
5. Push to the branch (`git push origin feature/AmazingFeature`)
6. Open a Pull Request
## License
This project is open source and available under the [MIT License](LICENSE).
## Contact Information
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](https://github.com/amirallami-code/rock-paper-scissors-game)
---
⭐ Star this repository if you find it cool!