Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

React + Emotion (Bonus game mode coming soon)

Alex 1,090

@AlexBueckig

Desktop design screenshot for the Rock, Paper, Scissors game coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
4advanced
View challenge

Design comparison


SolutionDesign

Community feedback

P
Matt Studdert 13,611

@mattstuddert

Posted

Awesome work on this challenge, Alex! How did you get on with it? Did you enjoy building it? One small thing I thought I'd point out. The player should lose a point if they lose a round. At the moment, the score stays the same on a loss.

Your solution looks great! 💯

1

Alex 1,090

@AlexBueckig

Posted

@mattstuddert Thanks for hinting out that the player should be losing a point on round loss... Totally missed that part... 😅 Luckily it's only a very small change in my reducer while updating the state on round loss! 👍

I really enjoyed this challenge, the react part was pretty straight forward. I used this challenge to work with Emotion again, the challenge with the countries api was the first time I worked with it, and I like working it more and more! 😃

The real challenge on this part was how to build the whole game logic so that I could easily switch between the modes without having to change to much... There's definiately room for improvement in my current solution since it only supports the basic version of the game but I already got some ideas for small changes which allow me to switch between the gamemodes easily.

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord