Skip to content

ahp-sooyaa/rock-paper-scissors-game

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
  • Maintain the state of the score after refreshing the browser (optional)
  • Bonus: Play Rock, Paper, Scissors, Lizard, Spock against the computer (optional)

Screenshots

index

index

win

win

lose

lose

rules modal

rules

Links

Note: this is only looking good in mobile, not responsive for bigger screen right now.

My process

Built with

  • Semantic HTML5 markup
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • Alpinejs - Your new, lightweight, JavaScript framework.
  • TailwindCSS - Rapidly build modern websites without ever leaving your HTML

Continued development

Later I will make this responsive for bigger screen.

Useful resources

Author