https://github.com/ananyamishra08/roshambo
Its a Rock-paper-scissors game website
https://github.com/ananyamishra08/roshambo
html-css-javascript
Last synced: 4 months ago
JSON representation
Its a Rock-paper-scissors game website
- Host: GitHub
- URL: https://github.com/ananyamishra08/roshambo
- Owner: Ananyamishra08
- Created: 2025-02-10T14:43:59.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-10T15:01:28.000Z (4 months ago)
- Last Synced: 2025-02-10T15:35:40.873Z (4 months ago)
- Topics: html-css-javascript
- Language: JavaScript
- Homepage: https://roshambo-rock-papper-scissors.netlify.app/
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Roshambo
## Rules for Roshambo (Rock-Paper-Scissors)
- **Hand signals**: Players simultaneously make a closed fist for ✊ *rock*, a flat hand for ✋ *paper*, or a fist with extended index and middle fingers for ✌️ *scissors*.
- **Winning combinations**:
- Rock **beats** Scissors
- Scissors **beats** Paper
- Paper **beats** Rock
- **Ties**: If both players make the same hand signal, it's a **tie**.
- **Play again**: If there's a tie, play continues until there's a winner.## Algorithm for Roshambo
1. Each player selects a move: **Rock**, **Paper**, or **Scissors**.
2. Compare the selected moves:
- Rock beats Scissors.
- Scissors beats Paper.
- Paper beats Rock.
3. Determine the winner:
- If moves are the same → **It's a tie**.
- Otherwise, declare the winner.
4. Repeat if necessary in case of a tie.## Game Illustration
