A simple implementation of the grade-school classic “rock paper scissors” game. If you don’t know what that is check the Wikipedia article. The game plays against the computer, which will randomly return either ‘Rock’, ‘Paper’ or ‘Scissors’.
The files rock_paper_scissors.html
, rock_paper_scissors.x5html
and rock_paper_scissors_loop.html
are versions of the game that can be played by inputting the player's choices into pop-up windows and seeing the outcomes in the developer's tools window.
Only the file rock_paper_scissors2.html
consists of a version of the game that can be played fully on the web browser.
- Html
- Css
- Javascript
-
Open your terminal - Windows:
Win + R
, then typecmd
| Mac:Command + space
, then typeTerminal
. -
Navigate to a directory of your choosing using the
cd
command. -
Run this command in your OS terminal:
git@github.com:German-Cobian/Rock-Paper-Scissors.git
to get a copy of the project. -
Using your web browser's navigation bar, go to the project's directory and then select the file that accords to the version of the game that you wish to play.
- For a single round version of the game, select
rock_paper_scissors.html
- For a five round version of the game, select
rock_paper_scissors.x5html
- For a version of the game with unlimited rounds select
rock_paper_scissors_loop.html
All of the previous are played by inputting the player's choices into pop-up windows and seeing the outcomes in the developer's tools window.
- For a five round version of the game, that can be played on the web browser window directly, select
rock_paper_scissors2.html
- For a single round version of the game, select
👤 German Cobian
- GitHub: @German-Cobian
- Twitter: @GermanCobian1
- LinkedIn: @german-cobian
Contributions, issues, and feature requests are welcome!
Give a ⭐️ if you like this project!
Guidelines for this project were supplied by Odin Project
This project is MIT licensed.