Skip to content

A Rock Paper Scissors game made with web development languages; HTML,CSS and vanilla javaScript.

Notifications You must be signed in to change notification settings

Daviddix/Rock-Paper-Scissors-web-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Rock, Paper, Scissors solution

Table of contents

Overview

A Rock Paper Scissors game made with web development languages; HTML,CSS and vanilla javaScript.

Rules

If the player wins, they gain 1 point. If the computer wins, the player loses one point.

  • Paper beats Rock
  • Rock beats Scissors
  • Scissors beats Paper

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

Screenshot

Links

My process

I started with the HTML skeleton then styled it with CSS before adding functionality with javaScript.

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow

Author

About

A Rock Paper Scissors game made with web development languages; HTML,CSS and vanilla javaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published