Rock - Paper - Scissors - Spock - Lizard game in Javascript and Karma for the tests
`It's easy:
- "Scissors cuts paper,
- paper covers rock,
- rock crushes lizard,
- lizard poisons Spock,
- Spock smashes scissors,
- scissors decapitates lizard,
- lizard eats paper,
- paper disproves Spock,
- Spock vaporizes rock,
- (and as it always has), rock crushes scissors."`
Prerequisites: node installed
$ git clone https://github.com/GiadaSimonetti/rpsls
$ cd rpsls
$ npm install
$ open index.html
- go to the browser
- read the rules
- scroll down
- click on one of the icon to choose which weapon use
- click the button
Click to play!
to start the game
- click the button
Try again
to start a new match
$ npm run test