Sign in Sign up
Rock, Paper, Scissors: Part I

This project will use nested conditionals to compare a user generated choice of rock, paper, or scissors with a script generated choice and declare a winner.


When you start writing a script, it is best if you can break up your goal into finite problems. We want the script to play Rock, Paper, Scissors against us. Try to think of at least three separate problems you will need to solve. Look at the hint when you have thought of a few, then press Save & Submit Code to get started!

Stuck? Get a hint! Hint
  1. We need the script to ask us to pick rock, paper, or scissors and store the result in a variable.
  2. We need the script to pick rock, paper, or scissors independently.
  3. The script needs to pick a winner.
  4. The results need to be reported in plain English.
Back to Editor

Sign in