Players deliver hand signals representing rock, paper, or scissors, with the outcome determined by these three rules:
16 |
17 |
Rock wins against scissors.
18 |
Scissors win against paper.
19 |
Paper wins against rock.
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Rock-Paper-Scissors
2 |
3 | This is a simple implementation of the classic Rock Paper Scissors game using HTML, CSS, and JavaScript. The game allows Human player and Bot player to compete against each other by selecting one of the three options: Rock, Paper, or Scissors. The winner is determined based on the standard rules of the game.
4 |
5 | #Demo
6 | You can try out the game by visiting the following link: [Rock Paper Scissors Game Demo](https://rock-pap.vercel.app/)
#Features
9 | Human player and Bot player can compete against each other.
10 | Real-time updates and feedback on the game result.
11 | Clear and intuitive user interface.
12 | Option to restart the game after each round.
13 | #Technologies Used
14 | HTML
15 | CSS
16 | JavaScript
17 |
18 | #Getting Started
19 | To run the game locally on your machine, follow these steps:
20 |
21 | #Clone the repository:
22 | shell
23 | Copy code
24 | git clone https://github.com/seo-asif/rock-paper-scissors.git
25 |
26 | #Navigate to the project directory:
27 | shell
28 | Copy code
29 | cd rock-paper-scissors
30 | Open the index.html file in your preferred web browser.
31 |
32 | #Usage
33 | Player 1 and Bot should each select one of the three options (Rock, Paper, or Scissors) by clicking on the corresponding buttons.
34 | Once both players have made their choices, the result will be displayed on the screen.
35 | To play again, click on the "Again Play" button.
36 |
37 |
38 | #Contributing
39 | Contributions to the project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
40 |
41 | #License
42 | This project is licensed under the MIT License. You are free to use, modify, and distribute the code as per the terms of the license.
43 |
44 | #Acknowledgments
45 | The game logic and rules are based on the traditional Rock Paper Scissors game.
46 | The CSS styling is inspired by modern web design trends.
47 |