Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created August 7, 2019 03:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save parzibyte/7c6d2aaff1c6666c28f985785de97ce4 to your computer and use it in GitHub Desktop.
// Método que indica si el jugador ha ganado
haGanado() {
return this.memorama.every(arreglo => arreglo.every(imagen => imagen.acertada));
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment