Skip to content

Rock, Paper, Scissors game that allows players to play against the computer. The game has two difficulty modes: easy and hard, as well as music and sound effects to enhance the gameplay experience.

Notifications You must be signed in to change notification settings

iPavelGeorgiev/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock, Paper, Scissors game

Mockup of desktop hard mode view

Overview

This Rock, Paper, Scissors game allows players to play against the computer. There are two difficulty modes available:

  • Easy mode, which is the traditional Rock, Paper, Scissors game.
  • Hard mode, which is an expanded version called Rock, Paper, Scissors, Lizard, Spock that was created by Sam Kass and Karen Bryla.

The game also includes music and sound effects to enhance the gameplay experience. The score and selected difficulty are saved as localStorage values, allowing players to retain their progress and preferred difficulty even if they close the app and come back to it later.

Rules

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

Image of game rules

Screenshots

Desktop design: easy mode

Mockup of desktop easy mode view

Desktop design: hard mode

Mockup of desktop hard mode view

Desktop design: rules modal

Mockup of desktop rules modal view

 
Mobile design: easy mode

Mockup of mobile easy mode view

Mobile design: hard mode

Mockup of mobile hard mode view

Mobile design: rules modal

Mockup of mobile rules modal view

Built with

  • Semantic HTML5 markup
  • SCSS
  • JavaScript
  • Animate.css

Run locally

Clone the project

  git clone https://github.com/iPavelGeorgiev/rock-paper-scissors.git

Go to the project directory

  cd rock-paper-scissors

Install dependencies

  npm install

Start the server

  npm run start

Acknowledgements

This challenge was provided by Frontend Mentor, a platform that offers challenges to help developers practice and improve their front-end skills. Each challenge includes designs for both mobile and desktop, as well as assets and a style guide, to get you started. This provides an opportunity for developers to concentrate on the implementation without having to worry about the design.

Author

LinkedIn  Discord  Frontend Mentor

About

Rock, Paper, Scissors game that allows players to play against the computer. The game has two difficulty modes: easy and hard, as well as music and sound effects to enhance the gameplay experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published