obrad97 / Bonus-exercise-8

Home Page:bonus-exercise-8.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rock, Paper, Scissors

Design preview for the Rock, Paper, Scissors coding challenge

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

Not sure what Rock, Paper, Scissors, Lizard, Spock is? Check out this clip from The Big Bang Theory.

Where to find everything

Your task is to build out the project to the designs inside the /design folder. You can either choose the original designs for the simpler version or the bonus designs for the harder version. You will find both mobile and desktop versions of the design to work to. Each file is also named depending on which step in the game the design is for.

The designs are in JPG static format. Using JPGs will mean that you'll need to use your best judgment for styles such as font-size, padding and margin.

You will find all the required assets in the /images folder. The assets are already optimized.

There is also a style-guide.md file containing the information you'll need, such as color palette and fonts.

Have fun building! 🚀

About

bonus-exercise-8.vercel.app


Languages

Language:CSS 49.8%Language:JavaScript 31.4%Language:HTML 18.8%