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
//Genera un número aleatorio entre un rango de enteros | |
function patito(minimo, maximo) | |
{ | |
var numero = Math.floor( Math.random() * (maximo - minimo + 1) + minimo ); | |
return numero; | |
} | |
var opciones = ["Piedra", "Papel", "Tijera","Lagarto", "Spock"]; | |
var opcionUsuario; |
NewerOlder