/Rock-paper-scissors

Rock, paper, scissors game created using javascript.

Primary LanguageJavaScriptMIT LicenseMIT

Rock, Paper, Scissors

In this activity, I've worked in a small group to build a rock-paper-scissors game using only JavaScript.

Rules for rock-paper-scissors

  • Rock: wins against scissors, loses to paper, and ties against itself.
  • Paper: wins against rock, loses to scissors, and ties against itself.
  • Scissors: wins against paper, loses to rock, and ties against itself.

Instructions

  • As a user:
    • I want to play Rock, Paper, Scissors against an automated opponent.
    • I can enter R, P, or S to signify my choice of rock, paper, or scissors.
    • I expect the computer to choose R, P, or S in return.
    • I want the option to play again whether I win or lose.
    • I want to see my total wins, ties, and losses after 10 rounds.

URL to deployed application: https://tamarajoniec.github.io/Rock-paper-scissors/