//initialize things globally if necessary
var move = "rock";

function respond(command) {
  if(command === "move")
    return Math.random() < 0.5 ? "rock" : "paper";
  else
    return "err";
}
//initialize things globally if necessary
var move = "rock";

function respond(command) {
  if(command === "move")
    return Math.random() < 0.5 ? "rock" : "scissors";
  else
    return "err";
}
Change jsplayer behavior for more natural ranking
Change jsplayer behavior for more natural ranking
