A simultaneous, zero-sum game, it has three possible outcomes: a draw, a win or a loss.
Screencast.from.10-16-2022.01.22.30.AM.webm
- Rock beats ✂️Scissors.
- ✂️Scissor beats 📄Paper.
- 📄Paper beats Rock.
If both players choose the same shape the game is tied and is usually immediately replayed to break the tie.
- HTML
- CSS
- JavaScript
-
Fork this repository.
-
Clone your forked copy of the project.
git clone https://github.com/<your_user_name>/RockPaperScissors.git
where <your_user_name> is your GitHub username.
-
Navigate to the project directory.
cd RockPaperScissors
-
Add a reference(remote) to the original repository.
git remote add upstream https://github.com/uday03meh/RockPaperScissors.git
-
Check the remotes for this repository.
git remote -v
-
Always take a pull from the upstream repository to your main branch to keep it at par with the main project(updated repository). Feel free to raise new issues.
git pull upstream main
-
Create a new branch.
git checkout -b <your_branch_name>
-
Make necessary changes and commit those changes.
-
Track your changes.
git add .
-
Commit your changes.
git commit -m "your message"
-
Push the committed changes in your feature branch to your remote repo.
git push -u origin <your_branch_name>
-
To create a pull request, click on Compare & pull request. Please ensure you compare your feature branch to the desired branch of the repo you are suppose to make a PR to.
-
Add appropriate title and description to your pull request explaining your changes and efforts done.
-
Click on Create pull request.
-
And you are done creating a pull request to this project.