Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 29, 2020 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/ddfe7080511a9bf0186c4f2573c795b9 to your computer and use it in GitHub Desktop.
Save parzibyte/ddfe7080511a9bf0186c4f2573c795b9 to your computer and use it in GitHub Desktop.
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