Loading...

0
Design preview for Rock, Paper, Scissors game coding challenge
  • HTML
  • CSS
  • JS
free

Rock, Paper, Scissors game

Advanced

Assets Provided Include

  • Sketch and Figma design file access - Unlock access with pro
  • JPEG design files for mobile & desktop layouts
  • Style guide for fonts, colors, etc
  • Optimized image assets
  • README file to help you get started
  • HTML file with pre-written content

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

FAQs

If you're employed as a developer, your employer should be happy to pay for your subscription as part of your training budget. Be sure to ask them first. If they're happy to do so, complete the checkout and then send an email to [email protected] with the name and address of the company and we'll update the invoice.

We don't provide "official" solutions for the challenges. This is because there is no single perfect way to complete a challenge. Instead, you're encouraged to review other people's code in the community. You can learn so much by seeing how other people have approached the same challenges.

If you would like to receive feedback please be sure to post a question when you submit your solution. The more specific you can be the better. This will give others in the community an idea of the help you're seeking.

Of course! Frontend Mentor was created to make professionally designed projects more accessible to the development community. Please feel free to use anything you build in your portfolio.

Definitely! We provide easy account management through the Settings page. Click on the Billing tab and you'll be able to manage your subscription without a problem.

We offer a "fair use" refund policy within 14-days of starting your subscription. Fair use means that if you download one or two premium assets (designs, premium challenges) and decide it's not for you, we're happy to process a refund. After all, we want you to be satisfied with your purchase! But if you've downloaded three or more premium assets and then requested a refund, we reserve the right to say no. To request a refund, email [email protected] within 14-days of starting your subscription.

Slack logo

Join our Slack community

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