/RPSLS

Rock, Paper, Scissors, Lizard, Spock game

Primary LanguageJava

RPSLS

Rock, Paper, Scissors, Lizard, Spock game

  • Asks user for input, only accepts 1 of 5 responses, either; Rock, Paper, Scissors, Lizard or Spock.
  • Validates input against an array of accepted responses.
  • If user input is ok, it will compare against a randomly generated computer gesture.
  • Displays winner of either user or computer and the reason why the respective gesture beats the other.