├── paper.png
├── rock.png
├── scissors.png
├── LICENSE
├── README.md
├── index.html
├── style.css
└── script.js
/paper.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/testgithubrittttttt/stone-paper-scissor-game/HEAD/paper.png
--------------------------------------------------------------------------------
/rock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/testgithubrittttttt/stone-paper-scissor-game/HEAD/rock.png
--------------------------------------------------------------------------------
/scissors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/testgithubrittttttt/stone-paper-scissor-game/HEAD/scissors.png
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2024 Dhruv Sharma
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | #Stone Paper Scissors Game
2 |
3 | Welcome to the ultimate rock-paper-scissors showdown! This exciting game is built entirely with HTML, CSS, and JavaScript, providing a fun and engaging experience for anyone.
4 |
5 | How to Play:
6 |
7 | Fire Up the Game: Open the index.html file in your web browser.
8 | Choose Your Weapon: Click on the vibrant buttons labeled "Rock," "Paper," or "Scissors" to make your selection.
9 | Face Off: Watch the suspense build as the computer opponent reveals its choice with a cool animation.
10 | May the Best Hand Win: A clear message will declare the victor (you or the computer) and a celebratory animation for the winner.
11 | Rematch? Click the "Play Again" button to challenge the computer repeatedly!
12 |
13 | Features:
14 | Intuitive Gameplay: Simple controls make it easy for anyone to jump in and play.
15 | Engaging Animations: Witness captivating animations for both player and computer selections, adding a touch of excitement.
16 | Visually Appealing Design: A visually appealing design with clear buttons and informative messages keeps you engaged.
17 | Responsive and Mobile-Friendly: Enjoy seamless gameplay on any device, from desktops to smartphones.
18 |
19 | Getting Started:
20 |
21 | Download the Files: Clone or download the repository to obtain the game files.
22 | Open in Browser: Navigate to the project directory in your web browser (usually by double-clicking index.html).
23 | Start Playing! Get ready to unleash your rock-paper-scissors mastery!
24 | Technical Stack:
25 |
26 | HTML: Provides the game's structure and content.
27 | CSS: Styles the game's visual elements for a polished look.
28 | JavaScript: Powers the game's logic, including user interaction, decision-making, and animations.
29 | Feel free to customize the game!
30 |
31 | The code is well-commented, making it easy to modify:
32 |
33 | If you want to make any changes, you can make it a better version. Changes can be like:
34 |
35 | Change the button colors, background images, or text styles to personalize the look and feel.
36 | Experiment with different animation libraries to create unique effects.
37 | Add sound effects to enhance the interactive experience.
38 | Consider implementing difficulty levels or a multiplayer mode for an extra challenge.
39 |
40 | This project is a great starting point for your web development journey. Experiment, explore, and have fun creating a truly exceptional rock-paper-scissors experience!
41 |
42 | If you like my work make sure you like the repository and follow me for more such amazing games or projects.
43 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |