Skip to content

Instantly share code, notes, and snippets.

@otterthecat
Created February 14, 2017 02:58
Show Gist options
  • Save otterthecat/8f28c9a03c9c84be78c61a430203fd9a to your computer and use it in GitHub Desktop.
Save otterthecat/8f28c9a03c9c84be78c61a430203fd9a to your computer and use it in GitHub Desktop.
For use for first homework assignment.
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