Skip to content

GabrielFMPinheiro/Rock-Paper-Scissors-Lizard-Spock-Game-Challenge

Repository files navigation

Frontend Mentor - Rock, Paper, Scissors, Lizard, Spock solution

This is a solution to the Rock, Paper, Scissors challenge on Frontend Mentor.

Table of contents

Overview

The challenge

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)

Screenshot

Links

My process

Built with

What I learned

  • How to use the react hooks, mainly useState, useEffect and useContext
  • More knowledge of positioning elements

Useful resources

Author