Skip to content

shsteindorsson/rps_challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissors Challenge

Netlify Status
This project is also hosted on Netlify.

Rules of the game

There are 3 valid moves: Rock, Paper & Scissors

  • Rock breaks Scissors
  • Paper covers Rock
  • Scissors cut Paper

Should both players choose the same move, the game ends in a tie.

Dependencies

This project is written in plain JavaScript (ES6) and does not require additional software to run in browser.

For testing:

Acknowledgements

  • The image on the Rules page is obtained from Wikimedia Commons and is released under a Creative Commons Attribution-Share Alike 3.0 Unported license (CC BY-SA-3.0).
  • Images from the game are designed by John Redman, released under a Creative Commons Attribution 3.0 Unported license (CC BY 3.0) and obtained from Game-icons.net

User stories

As a player
In order to play a game of Rock-Paper-Scissors in my browser
I need to have access to an online version of the game
As a player
In order to play the game correctly
I need to be able to see the rules of the game
As a player
In order to choose my move
I need to see available moves
As a player
In order to play the game
I need to be able to pick an available move
As a player
In order to know the results
I need to see which move the computer picked
As a player
In order to know whether I have won
I need to see the results of the game

Screenshot

Screenshot from RPS game

License

This is a version of the classic game of Rock-Papar-Scissors. Copyright (C) 2019 Sverrir Steindórsson.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

Rock, paper, scissors challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published