Loading...

  • HTML
  • CSS
  • JS

Rock, Paper, Scissors game

Advanced
Sketch app logo

Download Sketch File

JPEG designs are included in the free download, but you can buy the original Sketch file for this challenge here. The download includes desktop and mobile design, as well as a design for active/hover states (if part of the challenge).

Challenge

Brief

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

You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.

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)

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

Want some support on the challenge? Join our Slack community and ask questions in the help channel.

Getting started

  1. Download the starter code
  2. Set up the project with version control (e.g. Git)

  3. Read the README.md file and have a look around the starter files

  4. Get colors, fonts etc from the style-guide.md file

  5. Set up your project/file architecture however you like

  6. Start coding!

Ideas to test yourself

  • Write your styles using a pre-processor, such as Sass, Less, Stylus or use a CSS-in-JS solution, like Styled Components

  • Practice working in a team by building with friends

Slack logo

Join our Slack community

Join over 2,000 people taking the challenges, talking about their code, helping each other, and chatting about all things front-end!