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
const partidoEn16 = (Math.PI * 2) / 16; | |
const centroX = 200, centroY = 200; | |
const radioCirculo = 200; | |
const radioCuarto = 170; | |
const radioCirculoCentral = 80; | |
const distancia = 10; | |
const gamma = 2; | |
const milisegundosCpu = 200, | |
milisegundosUsuario = 100; | |
const sonidoSuperiorIzquierda = cargarSonido("1.mp3"), | |
sonidoSuperiorDerecha = cargarSonido("2.mp3"), | |
sonidoInferiorIzquierda = cargarSonido("3.mp3"), | |
sonidoInferiorDerecha = cargarSonido("4.mp3"); | |
let puedeJugar = false; | |
let contador = 0; | |
let puntaje = 0; | |
let secuencia = []; | |
const verde = d3.color("#1B5E20"), | |
rojo = d3.color("#B71C1C"), | |
amarillo = d3.color("#F9A825"), | |
azul = d3.color("#0D47A1"), | |
negro = d3.color("#212121"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment