This Paper, Scissors, Rock game is a fun and interactive web-based implementation of the classic hand game. Players compete against the computer in a series of rounds, choosing either rock, paper, or scissors. The game features a dynamic scoreboard, colorful animations, and different game modes including best of 3, 5, and 7 rounds. Customized with vibrant graphics and a user-friendly interface, it offers a delightful experience for players of all ages.
Live Demo of Rock, Paper, Scissors
- HTML
- CSS
- JavaScript
- FontAwesome for icons
To set up the game locally, follow these steps:
# Clone the repository
git clone [email protected]:dottereldesign/paper_scissors_rock.git
# Change into the project directory
cd paper_scissors_rock
# Open the index.html file in a web browser
In Paper, Scissors, Rock:
Rock crushes Scissors Scissors cuts Paper Paper covers Rock Select the number of rounds you want to play (best of 3, 5, or 7). Then, choose your move by clicking on the respective button. The computer randomly selects its move. After each round, the scoreboard updates. The first to reach the majority of rounds wins.
Contributions to the project are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch by running
git checkout -b feature-branch
. - Make your changes.
- Commit your changes with
git commit -am 'Add some feature'
. - Push to the branch with
git push origin feature-branch
. - Create a new Pull Request.
MIT License
Copyright (c) 2023 Jamie Wilson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.