Created
July 30, 2014 02:17
-
-
Save littleq0903/c946da0f82b9d3feac34 to your computer and use it in GitHub Desktop.
code of Build "Rock, Paper, Scissors"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var userChoice = prompt("Do you choose rock, paper or scissors?"); | |
var computerChoice = Math.random(); | |
console.log(computerChoice); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment