Skip to content

AdibZidan/rock-paper-scissors-game

Repository files navigation

Frontend Mentor - Rock, Paper, Scissors

Design preview for the Rock, Paper, Scissors coding challenge

Welcome! 👋

Check out the game here.

I've added my own mix. You're able to choose either modes and reset the game's state!

Have fun!

The challenge

Your challenge is to build out this Rock, Paper, Scissors game and get it looking as close to the design as possible.

Your users should be able to:

  • View the optimal layout for the game depending on their device's screen size
  • Play Rock, Paper, Scissors against the computer
  • Maintain the state of the score after refreshing the browser (optional)
  • Bonus: Play Rock, Paper, Scissors, Lizard, Spock against the computer (optional)

Rules

If the player wins, they gain 1 point. If the computer wins, the player loses one point.

Original

  • Paper beats Rock
  • Rock beats Scissors
  • Scissors beats Paper

Bonus

  • Scissors beats Paper
  • Paper beats Rock
  • Rock beats Lizard
  • Lizard beats Spock
  • Spock beats Scissors
  • Scissors beats Lizard
  • Paper beats Spock
  • Rock beats Scissors
  • Lizard beats Paper
  • Spock beats Rock

frontendmentor-rockpaperscissors