Created
February 14, 2017 02:58
-
-
Save otterthecat/8f28c9a03c9c84be78c61a430203fd9a to your computer and use it in GitHub Desktop.
For use for first homework assignment.
This file contains 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 hands = ['rock' , 'paper', 'scissors']; | |
var handOfChoice = weapons[parseInt(Math.random()*weapons.length) %3]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment