Skip to content

Instantly share code, notes, and snippets.

@parzibyte

parzibyte/variables.js Secret

Created Sep 29, 2020
Embed
What would you like to do?
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