Skip to content

3willows/rpsLizardSpock

Repository files navigation

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
(and as it always has) Rock crushes Scissors"

See: https://bigbangtheory.fandom.com/wiki/Rock,_Paper,_Scissors,_Lizard,_Spock

TO DO

  • Add the rules on the webpage
  • Make the rules collapsable (and collapsed to begin with)
  • Add the relevant rule in the message to the user
  • Use something better than alert to report results
    • design what information will be shown and where will it apar
    • add JS code to inject the results onto the HTML
    • add images (unsplash/Midjourney) to illustrate the moves (e.g. Spock) and the result (e.g. rock crushes scissors)

RETURN TO INDEX

Click here