Skip to content

A simple program that allows the user to play "rock, paper, scissors" against the computer. Built with Html, Css, and Javascript.

License

Notifications You must be signed in to change notification settings

German-Cobian/Rock-Paper-Scissors

Repository files navigation

"Rock-Paper-Scissors"

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.

Pop-up window 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.

Browser-window-display

Built with

  • Html
  • Css
  • Javascript

Getting Started

Setup and Install

  • Open your terminal - Windows: Win + R, then type cmd | Mac: Command + space, then type Terminal.

  • 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

Authors

👤 German Cobian

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

Guidelines for this project were supplied by Odin Project

📝 License

This project is MIT licensed.

About

A simple program that allows the user to play "rock, paper, scissors" against the computer. Built with Html, Css, and Javascript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published