ivank / rpsls

A Game of Rock Paper Scissors Lizard Spock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Game of Rock Paper Scissors Lizard Spock

Build Status

Pierre_ciseaux_feuille_lézard_spock_aligned.svg

Play this game at https://rpsls.ikerin.com

RPSLS is an extension to the original game of rock-paper-scissors. The additional characters were added by Sam Kass and Karen Bryla before being adopted, reordered, and overpopularised by The Big Bang Theory.

The rules

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. Rock crushes scissors.

Why?

This is a React & Redux app, built with create-react-app and hosted at firebase. It was made to practice those technologies in a greenfield project and as a task given in a recruitment process.

Run locally and experiment

You can run your own version of this game (and modify it). To do so you need to install the dependencies and add some firebase credentials.

yarn install
yarn start

For the firebase inforamtion, add a .env.local file, create your firebase project and fill in the environment variables from .env in your .env.local.

Attribution

Image By DMacks (talk) - Edited (repositioned elements) version of File:Pierre ciseaux feuille lézard spock.svg, which is by Nojhan and licensed GFDL/cc-by-sa-3.0,2.5,2.0,1.0, CC BY-SA 3.0, Link

About

A Game of Rock Paper Scissors Lizard Spock

License:MIT License


Languages

Language:JavaScript 88.1%Language:CSS 6.6%Language:HTML 4.5%Language:Shell 0.8%