Skip to content

This is a rock, paper, scissors classic game for the Fronted Mentor challenge.

Notifications You must be signed in to change notification settings

Mathitarazonad/Rock-Paper-Scissors-Page

Repository files navigation

Frontend Mentor - Rock, Paper, Scissors solution

This is a solution to the Rock, Paper, Scissors challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

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.
  • Bonus: Make a menu.
  • Bonus: Play Rock, Paper, Scissors, Lizard, Spock against the computer.
  • Bonus: Go back to the menu to choose the gamemode.

Screenshot

I only took a few screenshots of mobile and computer examples, the design for medium size devices like a tablet and others are very similar to the mobile design.

Mobile Menu

Mobile Design

Mobile Rules

Mobile Results

Tablet Design

Desktop Menu

Desktop Design

Desktop Rules

Desktop Results

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • React - JS library
  • Next.js - React framework
  • Redux Toolkit - Redux State Container
  • Sass - CSS Preprocessor

What I learned

"Use this section to recap over some of your major learnings while working through this project."

Well, working with this project helped me to explore and try some tools that I was interested about, like the preprocessor of CSS (SASS) and a state management tool like redux, in this case Redux Toolkit which is more easy to use. As well as the useState hook which I applied in this page and understood the basic of this awesome hook of React and why it is so important to know about.

Continued development

"Use this section to outline areas that you want to continue focusing on in future projects. These could be concepts you're still not completely comfortable with or techniques you found useful that you want to refine and perfect."

Based on the technologies that I mentioned above, I need to continue studying these tools and also start working with Backend things, for example, this challenge from Fronted Mentor gave a optional feature to implement that is to save the points that the user obtain during a game, and for that I think that I need to work with data bases or something that I didn't study yet. And how I said, this project really challenged me and put my skills into test, and that helped me a lot to really understand more about some concepts that I didn't understood before at all.

But also I learned that I can't force myself to study more than one technology at the same time like I did during this project with Redux and Sass, and that was a completely headache and cause that the project take more time than I expected. But i'm happy that I overcame this challenge.

Useful resources

Author

About

This is a rock, paper, scissors classic game for the Fronted Mentor challenge.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published